- Notifications
You must be signed in to change notification settings - Fork12
Go client library for interacting with Coinpaprika's API
License
NotificationsYou must be signed in to change notification settings
coinpaprika/coinpaprika-api-go-client
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This library provides convenient way to usecoinpaprika.com API in Go.
Coinpaprika delivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.
package mainimport ("fmt""github.com/coinpaprika/coinpaprika-api-go-client/coinpaprika")funcmain() {paprikaClient:=coinpaprika.NewClient(nil)tickers,err:=paprikaClient.Tickers.List(nil)iferr!=nil {panic(err)}for_,t:=rangetickers {ift.Name==nil||t.Symbol==nil||t.Rank==nil {continue}fmt.Println("Name:",*t.Name)fmt.Println("Symbol:",*t.Symbol)fmt.Println("Rank:",*t.Rank)fmt.Println("----")}}
customClient:=&http.Client{Timeout:10*time.Second}paprikaClient:=coinpaprika.NewClient(customClient)
Key can be obtained fromCoinpaprika API
paprikaClient:=coinpaprika.NewClient(nil,coinpaprika.WithAPIKey("your_api_key_goes_here"))
Check out the./examples
directory.
- Get market overview data
- List coins
- Get coin by ID
- Get twitter timeline for coin
- Get coin events by coin ID
- Get exchanges by coin ID
- Get markets by coin ID
- Get latest OHLCV
- Get historical OHLCV
- Get people by ID
- List tags
- Get tag by ID
- Get tickers for all coins
- Get ticker information for specific coin
- Get historical tickers for specific coin
- List exchanges
- Get exchange by ID
- List markets by exchange ID
- Search tool
- Price converter
CoinpaprikaAPI is available under the MIT license. See theLICENSE file for more info.
About
Go client library for interacting with Coinpaprika's API
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.