Official CoinPaprika API Swift client library
Package.swift
file or via Xcode:
pod install
:
Coinpaprika.API
object. All requests are asynchronous and return a Result
type in a closure.
Configuration
object before making any requests. This should be done once when your app launches.
Result
object in the completion handler provides a detailed RequestError
case for failures.
async/await
.
global()
- Get global market overview.coins(additionalFields:)
- List all coins.coin(id:)
- Get coin by ID.coinTwitter(id:)
- Get a coin’s Twitter timeline.coinEvents(id:)
- Get coin events.coinExchanges(id:)
- Get exchanges for a coin.coinMarkets(id:quotes:)
- Get markets for a coin.tickers(quotes:page)
- Get all tickers, with optional pagination.ticker(id:quotes:)
- Get a specific ticker.historicalTicks(...)
- Get historical tickers.exchanges(quotes:)
- List all exchanges.exchange(id:quotes:)
- Get an exchange by ID.exchangeMarkets(id:quotes:)
- Get markets for an exchange.person(id:)
- Get a person by ID.tags(additionalFields:)
- List all tags.tag(id:additionalFields:)
- Get a tag by ID.search(...)
- Search across categories.priceConverter(...)
- Convert between currencies.