Skip to content

breadwallet/CoinGecko

 
 

Repository files navigation

CoinGecko Swift

Swift wrapper for the CoinGecko API.

Usage

let client = CoinGeckoClient()
let ping = Resources.ping { (result: Result<Pong, CoinGeckoError>) in
    guard case .success(let pong) = result else { return }
    print(pong.gecko_says) //(V3) To the Moon!
}
client.load(ping)