Jump to content

tvaughan

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by tvaughan

  1. After a bit more bashing, I managed to get something to work. My script is linked in case it's useful to someone, although no doubt it could use some cleaning up!
  2. I'm new to Alfred workflows, json and python, so I'm more or less starting from scratch on this one! I want to create a workflow that will get the latest bitcoin price in GBP, using the bitcoinaverage API (https://api.bitcoinaverage.com/ticker/global/GBP/). That gives me a json file that looks something like this: { "24h_avg": 473.32, "ask": 498.26, "bid": 497.76, "last": 498.02, "timestamp": "Mon, 13 Jun 2016 14:26:07 -0000", "volume_btc": 1703.35, "volume_percent": 0.7 } I would like to have a simple python script that will query the API, extract the "bid" value and then give it back to me in Alfred. I'm trying to base my script off the Pinboard tutorial but it's not working so far. Can anyone help?
×
×
  • Create New...