Swiftpack.co - Package - mdiep/Tentacle

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

Github

link
Stars: 224
Help us keep the lights on

Releases

0.13.1 - Mar 29, 2019

Fixed

  • SwiftPM support

0.13.0 - Mar 29, 2019

Breaking

  • Updated to ReactiveSwift 5.0
  • Updated to Swift 4.2

0.12.1 - Mar 4, 2019

Fixed

  • Support for Result 4.1.0 (#104)

Added

  • Ability to get the latest release in a repository (#105)

0.12.0 - Sep 5, 2018

Breaking

  • Update ReactiveSwift to 4.0.0 (#98). Thanks @ikesyo!

Added

  • Fetch a repository's information (#95). Thanks @Palleas!
  • Add function to retrieve an issue in the repository (#96). Thanks @Palleas!

Improved

  • Use Xcode 9.3 image on Travis (#97). Thanks @dcaunt!
  • Xcode 9.4 support (#99). Thanks @ikesyo!
  • Make Identifiable Hashable and provide a default implementation (#100). Thanks @ikesyo!
  • [SE-0185] Utilize synthesized Equatable and Hashable conformances (#101). Thanks @ikesyo!

0.11.0 - Nov 25, 2017

Breaking

  • Update ReactiveSwift to 3.0 (#93). Thanks @ikesyo!