Answers for "how to read json from link python"

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

Code answers related to "how to read json from link python"

Python Answers by Framework

Browse Popular Code Answers by Language