Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Create movies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey authored Jun 21, 2016
1 parent 6c681e1 commit 8120581
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions movies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pandas
import requests

movies = pandas.read_csv('https://raw.githubusercontent.com/davidbailey/Notes/master/Movies.csv')

for movie in movies.Title:
r = requests.get('https://www.omdbapi.com/?t=' + movie)
print(r.json()['Title'], r.json()['Year'])

0 comments on commit 8120581

Please sign in to comment.