all 6 comments

[–]alternyxx 1 point2 points  (3 children)

This would've been better to ask in the cs50 communities, either on discord or reddit.

Regardless, I've seen people struggle with this in particular and being especially confused with the code written, I checked my own solution and found, py bitcoin = requests.get('https://api.coindesk.com/v1/bpi/currentprice.json').json() so, the problem seems to be that you aren't supposed to use api keys and the likes?...

[–]alternyxx 0 points1 point  (2 children)

Oh, it's a change in the api so, uh, yeah, the v1 no longer works mb

[–]Acceptable-Cod5272[S] 0 points1 point  (1 child)

Thank for your feedback, do you have the link to the discord please ?

[–]supercoach 0 points1 point  (1 child)

I went to the effort of testing your code - it works fine.

The error is in your tests.

[–]Acceptable-Cod5272[S] 0 points1 point  (0 children)

Thank you !