Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 808 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 808 Bytes

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