• Stars
    star
    253
  • Rank 160,776 (Top 4 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Swift framework for the GitHub API

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