Skip to content

Ticker API Upgrade -Jason #2

@RydCri

Description

@RydCri

The getTicker function in js/index.js is set up to take unique query urls per desired crypto. Only one.

If you can find a better endpoint to get multiple queries in one call like the /coins/markets endpoint, drop it here.

-update

/simple/price
can return name, price 24hr volume and 24hr volume change for multiple csv 'comma seperated value' coins.

example for bitcoin, ethereum, dogecoin query

https://api.coingecko.com/api/v3/simple/price?ids=bitcoin%2Cethereum%2Cdogecoin&vs_currencies=usd&include_24hr_vol=true&include_24hr_change=true&precision=2

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions