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! :)

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center