Created
July 11, 2016 23:56
-
-
Save kbolt/3fa9a3ec47b23cde439bbc38ec935b55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests,json | |
| from pprint import pprint | |
| movieId = 'tt0050083' | |
| BASE_URL = 'http://www.omdbapi.com/?' | |
| url = (BASE_URL + 'i=' + movieId + '&plot=full&r=json') | |
| r = requests.get(url) | |
| data = r.json() | |
| pprint(data) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment