fetch a json from url python

JavaScript
import requests
r = requests.get('url')
print r.json()
Source

Also in JavaScript: