Changelly

1.1.2

Changelly API client written in Swift
coinpaprika/changelly-api-swift-client

What's New

1.1.2

2019-08-19T08:03:49Z
  • Update dependencies

ChangellyAPI

Version License Platform Swift 5.0

  • Supports all endpoints from API
  • Returns response objects transparently decoded via Codable
  • Based on Swift 5 Result enum
  • Handle Changelly requests signing

Example

import Changelly

let client = Changelly.API(key: "{YOUR_API_KEY}", secret: "{YOUR_API_SECRET}")
client.getCurrencies().perform  { result in
    do {
      let currencies = try? result.get()
      // use successfull response
    } catch {
      // handle request error
    }
}

Installation

ChangellyAPI is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ChangellyAPI'

License

ChangellyAPI is available under the MIT license. See the LICENSE file for more info.

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

Last updated: Mon Mar 18 2024 14:52:38 GMT-0900 (Hawaii-Aleutian Daylight Time)