def get_json(url):
    resp = urllib2.urlopen(url)
    return json.load(resp, object_hook=format_book_entry), resp.getcode()
Gets json from the API
dataset/ETHPy150Open cbyn/bitpredict/collect-data/collect_books.py/get_json