How to Use an API in Python to get Bitcoin's Price Live - Along with other Cryptocurrencies

preview_player
Показать описание

Thanks so much for watching, and don't forget to subscribe.

Рекомендации по теме
Комментарии
Автор

wow... I can't believe I found someone who explains this in such a way that I can understand it and reproduce it! every other video I've watched always goes out of their way to make the most complicated requests, when all I need is something so basic like obtain 1 or 2 cryptos! Thank you! you made my day!

agustinbmed
Автор

Clearly passionate about the stuff u do man. Thanks for the tutorial. subbed and smashed like button.

mesharibuhadi
Автор

for x in coins :
if x['symbol'] == 'BTC':
print (x['symbol'], x['quote']['USD']['price'])

statescustefan
Автор

BOOM! ;-) It's exactly what I was searching for these days... Very good video and efficient code. Thanks, man!

thxyves
Автор

10, 000th view! Thanks for the video :)

Togglism
Автор

Thanks for this video! I'm a complete novice and was hoping you could give me some help. When I run the code I get an error, coins = json['data']
KeyError: 'data'

Any guidance on getting around this would be appreciated

RP_SVN
Автор

Im getting an error called "AttributeError: module 'apikey' has no attribute 'key'" Could you please let me know the fix?

AaRaTales
Автор

For anyone wondering the free version allows about 1 call every 5min

PrintEngineering
Автор

Any advice on how to call BTC price directly rather than pulling through a json of the top x coins?

beboshi
Автор

This is amazing. Thanks. Is there a way I can use this to update a Table in Notion.

oyinbra
Автор

Is it possible to implement this on Django and have real-time charts (1m, 5m, 1d, etc.) like in Tradingview ?

NeoVirusOfficial
Автор

if I try to run this in a loop it will only return the price of a currency at the point in which I ran the code, I am using scheduler to use schedule.run.every.... ext, however whenever it runs every 5 minutes the the only value returned is the price when I first ran the code, it never updates or changes. Any ideas?

cademiller
Автор

Hi I have a API key how can i (test ) see my link in the browser? (so that it is the complete loink?

AlbertvanEe
Автор

in the api key file, what is written?

davidguevara_
Автор

Thanks for the great video. Is code on Github? If so, where do I find it?

donkeyschat
Автор

What does this

for x in coins:
print(x["symbol"], x["quote"]["CHF"]["price"])

mean? Im new and I want to know what this "for x in coins" does. What is x? I dont quite understand.

suissegarantiegaming
Автор

can you specify a specific list of crypto instead?

gerakore
Автор

How can I make it to send a message everytime the price of BTC change?

yhzaitutorials
Автор

Can you please post the code on github?

MuchSwagWow
Автор

Hi,
I appreciate the great video.
However, I am getting an error that python says...
"AttributeError: module 'apikey' has no attribute 'key'"
Do you know what might cause the error?
Thank you,

NJNJNJNJNJNJNJ
welcome to shbcf.ru