Skip to content
A Swift framework for the GitHub API
Swift Other
  1. Swift 99.1%
  2. Other 0.9%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Carthage/Checkouts
Sources/Tentacle
Tentacle.xcodeproj
Tentacle.xcworkspace
Tests/TentacleTests
script
update-test-fixtures
.gitignore
.gitmodules
.swift-version
.swiftlint.yml
.travis.yml
Cartfile
Cartfile.resolved
LICENSE.md
Package.resolved
Package.swift
README.md

README.md

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

You can’t perform that action at this time.