eth.build icon indicating copy to clipboard operation
eth.build copied to clipboard

Price (Component) isn't working any more (coinmarketcap)

Open austintgriffith opened this issue 5 years ago • 5 comments

Is there another api we could sign up for or something?

austintgriffith avatar Mar 08 '20 16:03 austintgriffith

Co-founder at CoinGecko here, may i suggest considering our public and free API at https://www.coingecko.com/en/api

We have helped to power many apps in the Ethereum ecosystem. It is quite easy to implement and flexible with support for contract addresses lookup, etc.

Suggest to give it a try! I am here if you have any questions.

tmlee avatar Mar 10 '20 04:03 tmlee

@tmlee maybe you can make a pull request to add this?

Polycarpik avatar Apr 07 '20 00:04 Polycarpik

@Polycarpik I can integrate this immediately.

iamonuwa avatar Apr 07 '20 02:04 iamonuwa

@tmlee Its indeed very easy. I am using the request module to extract the price. This eth.build is so flexible. Using the API of coingecko: https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd

Byte1122 avatar May 26 '20 14:05 Byte1122

What would be the cleaner approach for using coingecko:

  1. using coingecko-api npm package: creates 1 new dependency but potentially enables new features e.g. price charts
  2. just using the API directly without package Thoughts?

ChristophSiegenthaler avatar Jun 04 '20 20:06 ChristophSiegenthaler