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: 213
Help us keep the lights on

Releases

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!

0.10.0 - Oct 24, 2017

Breaking

  • Tentacle now requires Xcode 9 and Swift 4 (#85, #86, #88). Thanks @ikesyo!
  • Migrated to Swift's Decodable API (#84). Thanks @Palleas, @ikesyo and @dcaunt!

Fixed

  • Identifiable conformance in RepositoryInfo (#89). Thanks @ikesyo!

0.9.0 - Sep 26, 2017

Breaking

  • Implement Identifiable type in model with ids (#87). Thanks @Palleas!

Fixed

  • Some decoding problems (#87). Thanks @mdiep!

0.8.0 - Jul 25, 2017

This release updates to ReactiveSwift 2.0 (#86). Thanks @ikesyo!