Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the coinlist on each execution #84

Open
mbinette opened this issue Jun 25, 2021 · 0 comments
Open

Update the coinlist on each execution #84

mbinette opened this issue Jun 25, 2021 · 0 comments

Comments

@mbinette
Copy link

The app currently uses a coinlist.json file that is included with the app. That list has changed and the only way to update it is to manually replace it with a new list from https://min-api.cryptocompare.com/data/all/coinlist

The app is only using the Name and CoinName values from the coinlist.json which is an 8mb file with a lot more info. Instead, use https://min-api.cryptocompare.com/data/all/coinlist?summary=true and instead of Name use Symbol and instead of CoinName use FullName. The summary API call is only 708kb and could be run each time the application is started to make sure it is always up to date.

I don't know why the summary=true API call didn't include Name and CoinName instead because it would have been even smaller but that is cryptocompare.com's issue, not this apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant