Cryptex-prototype / Cryptex-prototype/prototype

Ticker API Upgrade -Jason

Open
#2 0 comments 0 reactions 1 assignee Claimed by @RydCri View on GitHub
help wanted
Dominant language
HTML
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.