r/PythonLearning • • Aug 24 '25

Just made a simple crypto price tracker in Python πŸš€

69 Upvotes

12 comments sorted by

2

u/Kevdog824_ Aug 24 '25

Nice project!

1

u/Ibrahim-Marsee-6816 Aug 24 '25

Thanks, I really appreciate that πŸ”₯πŸ™

2

u/Ibrahim-Marsee-6816 Aug 24 '25

Hey guys,
Decided to build a small crypto price tracker. It pulls Bitcoin and Ethereum prices from an API and shows them in real time. Nothing fancy, but it actually works πŸ˜…

Bonus: it even handles errors gracefully, so if the API fails or something goes wrong, it won’t crashβ€”just tells you there was a problem.

It’s been a fun way to practice working with APIs and JSON. Next, I’m thinking of adding more coins or maybe even a small GUI.

Any ideas on cool features I could add? πŸ™Œ

2

u/k03k Aug 24 '25

It doenst handle all errors gracefully, what if the api connection times out for instance? Or what if there is no api key?

I think you should wrap a (or even any) network call into a try except :)

1

u/Ibrahim-Marsee-6816 Aug 24 '25

Sure, you're right, I just wanted to make it simple but will add these features

-10

u/kurechhh Aug 24 '25

its cool if you beginner but nobody will use this

5

u/Ibrahim-Marsee-6816 Aug 24 '25

You're right. I am begginer just wanted to make my hands dirty and see how far I will go, and I also thought of adding new things as long as I learn new things

10

u/[deleted] Aug 24 '25

Notice how this is called Python LEARNING

7

u/Glittering-Role-2901 Aug 24 '25

God forbid someone shares a small program they made

2

u/esSdoem Aug 24 '25

That is cool. What is dotenv import?

2

u/[deleted] Aug 25 '25

load_dotenv() allows you to use api keys, passwords, and other secrets you keep in your .env file

1

u/meshakooo Aug 24 '25

This is great, keep going OP