Hello. About your public API. I'm trying to use this python script to grab your ticker data.
from __future__ import print_function
import json
import urllib2
j = urllib2.urlopen('https://www.bitstamp.net/api/ticker')
j_obj = json.load(j)
print(j_obj['last'],j_obj['high'],j_obj['low'],j_obj['bid'],j_obj['ask'],sep=" ")
Unfortunately, python gives me a
HTTPError: HTTP Error 403: Forbidden
Could you please aid me with why the script's access to the API is forbidden? I can access the ticker fine with my browser.
This same script works well with Bitkonan's and BTC-e's public API.
/edit
Worked this out. The URL needed a slash at the end, making it
https://www.bitstamp.net/api/ticker/