Closed hoangnguyen92dn closed 2 years ago
When the user launches the app, it will show the "My Coins" section on the Home page.
GET /coins/markets
ids=bitcoin,ethereum,binancecoin,ripple,cardano,solana,polkadot,near,tron,dogecoin
vs_currency=usd
per_page=10
order=market_cap_desc
page=1
price_change_percentage=24h
https://api.coingecko.com/api/v3/coins/markets?ids=bitcoin,ethereum,binancecoin,ripple,cardano,solana,polkadot,near,tron,dogecoin&vs_currency=usd&order=market_cap_desc&per_page=10&page=1&sparkline=false&price_change_percentage=24h
[ { "id": "bitcoin", "symbol": "btc", "name": "Bitcoin", "image": "https://assets.coingecko.com/coins/images/1/large/bitcoin.png?1547033579", "current_price": 21953, "market_cap": 418632879244, "market_cap_rank": 1, "fully_diluted_valuation": 461055930782, "total_volume": 40284988945, "high_24h": 23014, "low_24h": 21175, "price_change_24h": 777.55, "price_change_percentage_24h": 3.67201, "market_cap_change_24h": 15300446085, "market_cap_change_percentage_24h": 3.79351, "circulating_supply": 19067731, "total_supply": 21000000, "max_supply": 21000000, "ath": 69045, "ath_change_percentage": -68.04458, "ath_date": "2021-11-10T14:24:11.849Z", "atl": 67.81, "atl_change_percentage": 32437.78568, "atl_date": "2013-07-06T00:00:00.000Z", "roi": null, "last_updated": "2022-06-15T02:30:41.323Z", "price_change_percentage_24h_in_currency": 3.672009841642702 }, ... ]
N/A
https://www.coingecko.com/en/api/documentation
Why
When the user launches the app, it will show the "My Coins" section on the Home page.
Acceptance Criteria
GET /coins/markets
with parameters:ids=bitcoin,ethereum,binancecoin,ripple,cardano,solana,polkadot,near,tron,dogecoin
vs_currency=usd
per_page=10
order=market_cap_desc
page=1
price_change_percentage=24h
Design
N/A
Resources
https://www.coingecko.com/en/api/documentation