Intermediate Importing Data in Python
Hugo Bowne-Anderson
Data Scientist at DataCamp
import requests
url = 'http://www.omdbapi.com/?t=hackers'
r = requests.get(url)
json_data = r.json()
for key, value in json_data.items():
print(key + ':', value)
?t=hackers
'http://www.omdbapi.com/?t=hackers'
Intermediate Importing Data in Python