Skip to content

mdiep/Tentacle

Repository files navigation

Tentacle MIT license

A Swift framework for the GitHub API

let client  = Client(.dotCom, token: "")
let repo    = Repository(owner: "ReactiveCocoa", name: "ReactiveCocoa")
let request = repo.release(forTag: "tag-name")
client
    .execute(request)
    .startWithResult { result in
        switch result {
        case let .success(response, release):
            print("Downloaded release: \(release)")
        case let .failure(error):
            print("An error occurred: \(error)")
        }
    }

Tentacle is built with ReactiveSwift.

License

Tentacle is available under the MIT License