Answers for "python get json data from url"

0

python read json from url

import urllib.request, json 
with urllib.request.urlopen("http://maps.googleapis.com/maps/api/geocode/json?address=google") as url:
    data = json.loads(url.read().decode())
    print(data)
Posted by: Guest on October-18-2021
0

python get json data from url

json_url = urlopen(url)

      data = json.loads(json_url.read())

      print data
Posted by: Guest on December-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language