Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #read #json #url
ADD COMMENT
Topic
Name
1+9 =