Latest | 1.1.1 |
---|---|
Homepage | https://github.com/coinpaprika/coinswitch-api-swift-client |
License | MIT |
Platforms | ios 10.0, osx 10.12, watchos 3.0, tvos 10.0 |
Dependencies | CoinpaprikaAPI/Networking |
Authors |
- Supports all endpoints from Dynamic API
- Returns response objects transparently decoded via Codable
- Based on Swift 5 Result enum
Example
import CoinSwitch
let client = CoinSwitch.API(key: "{YOUR_API_KEY}", ip: "{YOUR_API_SECRET}")
client.getCoins().perform { result in
do {
let coins = try? result.get()
// use successfull response
} catch {
// handle request error
}
}
Installation
CoinSwitchAPI is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'CoinSwitchAPI'
License
CoinSwitchAPI is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "CoinSwitchAPI", "module_name": "CoinSwitch", "version": "1.1.1", "summary": "CoinSwitch - crypto to crypto exchange service - API client", "description": "* Supports all endpoints from Dynamic APIn* Returns response objects transparently decoded via Codablen* Based on Swift 5 Result enum", "homepage": "https://github.com/coinpaprika/coinswitch-api-swift-client", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Dominique Stranz": "[email protected]" }, "source": { "git": "https://github.com/coinpaprika/coinswitch-api-swift-client.git", "tag": "1.1.1" }, "social_media_url": "https://twitter.com/coinpaprika", "platforms": { "ios": "10.0", "osx": "10.12", "watchos": "3.0", "tvos": "10.0" }, "swift_versions": [ "4.2", "5.0", "5.0" ], "cocoapods_version": "> 1.6.1", "source_files": "CoinSwitchAPI/Classes/**/*", "dependencies": { "CoinpaprikaAPI/Networking": [] }, "swift_version": "5.0" }
Fri, 24 May 2019 10:06:12 +0000