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 to Cryptotracker #1103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

PrettyAX
Copy link
Contributor

@PrettyAX PrettyAX commented May 2, 2023

Implemented a new API from API-ninjas that is able to return the favorite pairs of cryptocurrency and their USD prices. If the user inputs a pair that is not supported, it will query a different API to print out all of the pairs that are supported.

Addresses issue #1102

Implemented a new API from API-ninjas that is able to return the favorite pairs of cryptocurrency and their USD prices. If the user inputs a pair that is not supported, it will query a different API to print out all of the pairs that are supported.
'User-Agent': 'Jarvis'}).json()
price = response['ticker']['price']
change = response['ticker']['change']
url, headers={'X-Api-Key': 'NtgQxUQ02CDzcA5It1e/0w==25CTvSFoQ2nBBCSm'}).json()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This api key, is it yours? Hmm, not so nice.

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

Successfully merging this pull request may close these issues.

None yet

2 participants