Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 802 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 802 Bytes

ImgFlo.swift Build Status

Conveniently produce authorized imgflo URLs.

Usage

import ImgFlo

let imgflo = ImgFlo.Client(
  server: "https://yourimgfloserver.com",
  key: "your-imgflo-key",
  secret: "your-imgflo-secret"
)

let graph: Graph = .Passthrough(width: 750, height: 1334)
let imageURL = "http://yourserver.com/yourimage.png"

let URL = imgflo.getURL(graph, input)

Development

Installing dependencies

The following script requires Cocoapods to be installed.

./script/update

Running tests

The following script requires xcodebuild to be installed.

./script/test