mdiep / Tentacle

A Swift framework for the GitHub API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Swift framework for the GitHub API

License:MIT License


Languages

Language:Swift 99.1%Language:Perl 0.5%Language:Objective-C 0.4%