techievee / statistics_api

Front end for the open-ethereum-pool
GNU General Public License v3.0
3 stars 18 forks source link

Exchange API migrate #3

Open stepanovandrey89 opened 4 years ago

stepanovandrey89 commented 4 years ago

Hello. In .conf section "exchange": { have link: https://api.coinmarketcap.com/v1/ticker/?convert=INR" WARNING: This API is now offline. Please switch to the new CoinMarketCap API. (https://pro.coinmarketcap.com/migrate/)"} In start page data cannot be processed. Tell me how to fix it? exchange

edradev commented 4 years ago

Hello. In .conf section "exchange": { have link: https://api.coinmarketcap.com/v1/ticker/?convert=INR" WARNING: This API is now offline. Please switch to the new CoinMarketCap API. (https://pro.coinmarketcap.com/migrate/)"}%22%7D) In start page data cannot be processed. Tell me how to fix it? exchange

Hello, exchange collection functionality no longer works with coinmarketcap.com. Requires a API key now and JSON format is now strings and ints. Do you have solution to this?

edradev commented 4 years ago

Tried with "https://api.coinpaprika.com/v1/tickers/etc-ethereum-classic" but have error:

&{GET https://api.coinpaprika.com/v1/tickers/etc-ethereum-classic HTTP/1.1 1 1 map[Accept:[application/json] Content-Type:[application/json]] 0 [] false api.coinpaprika.com map[] map[] map[] } Failed to fetch data from exchange json: cannot unmarshal object into Go value of type exchange.ExchangeReply