ChangellyAPI

Version License Platform Swift 5.0

示例

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
    }
}

安装

ChangellyAPI 可通过 CocoaPods 获得。要安装它,只需将以下行添加到您的 Podfile

pod 'ChangellyAPI'

许可证

ChangellyAPI 在 MIT 许可证下可用。有关更多信息,请参见 LICENSE 文件。