Re: Another question about JSON

2013-09-13 Thread Anthony Papillion
On 09/13/2013 08:24 AM, Peter Otten wrote: > Anthony Papillion wrote: > >> And I get a traceback that says: No JSON object could be decoded. The >> specific traceback is: >> >> Traceback (most recent call last): >> File "coinbase_bot.py", line 31, in >> getCurrentBitcoinPrice() >> File "c

Re: Another question about JSON

2013-09-13 Thread John Gordon
In Anthony Papillion writes: > I'm still working to get my head around JSON and I thought I'd done so > until I ran into this bit of trouble. I'm trying to work with the > CoinBase API. If I type this into my browser: > https://coinbase.com/api/v1/prices/buy > I get the following JSON returne

Re: Another question about JSON

2013-09-13 Thread Peter Otten
Anthony Papillion wrote: > Hello Again Everyone, > > I'm still working to get my head around JSON and I thought I'd done so > until I ran into this bit of trouble. I'm trying to work with the > CoinBase API. If I type this into my browser: > > https://coinbase.com/api/v1/prices/buy > > I get th

Another question about JSON

2013-09-13 Thread Anthony Papillion
Hello Again Everyone, I'm still working to get my head around JSON and I thought I'd done so until I ran into this bit of trouble. I'm trying to work with the CoinBase API. If I type this into my browser: https://coinbase.com/api/v1/prices/buy I get the following JSON returned {"subtotal":{"amo