STEEMGIG: Need Advice on Python Coding and Pulling Values out of this Json Coinmarketcap Array :)
So i'm pulling the stock ticker api for the SBD price from coinmarketcap and while i've got it working and it's printing out i'm struggling with the next steps, the things i wanna do is the following. .. :)
- i want to be able to get the value of price_usd
- run script every 60 seconds in the cloud (heroku maybe?)
- replace value in my working grep -x post file to that sbd value
trust me, it took me many hours just to get python working on my mac, right tools, working dependencies and all that stuff from research but i'm struggling now because i don't know how to properly play with this array of json i'm pulling down.
i've already setup the backend part for the app (and i'll tell you about it because it's simple when it's done -- it was a new gadget for christmas) and i can manually do the grep -x post and update values manually but now i want to automate this process so i can push the new value every sixty seconds.
if i can get this working i'll spruce it up for steem as well in another 'frame' or viewport for the device i'm sending too -- if we can get this working i'll have a bunch more work for someone to do as well, small things most of the time but useful to me and it helps me learn coding at the same time! :)
trust me to jump in head first, i'm not a coder and i don't have time to learn python from scratch so i'm hacking my way around it because i just want the result -- i'm sure their are a million ways to do this, even probably completely with grep if you are super hardcore but i'm not, i just wanted to jump in and try.
if you can help, get in touch! :)
Leave STEEMGIG: Need Advice on Python Coding and Pulling Values out of this Json Coinmarketcap Array :) to:
Read more #python posts
Best Posts From Humble Life Skills
We have not curated any of teamhumble's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Humble Life Skills
- England Match Viewing Gets Unnecessarily Complicated With Voice Agents
- A Rare Saturday Alone With The Coffee Machine
- The Endless Loop of Building Your Own Agentic OS
- The Unequal Future of AI-Generated Everything
- Fable 5 Extension Gives You More Time To Procrastinate Properly
- Shipping Containers For Heat: A Fire Risk Worth Considering
- El Niño Heat Will Hang Around For A While Yet
- Half-British, Half-Irish at America's 250th Birthday Parade
- Video Uploaders And Flying Cars: A Progress Report
- Heat, Nostalgia, and the Myth of Simpler Times