Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- import requests
- class Actor:
- def __init__(self, actorid):
- response = requests.get('http://api.themoviedb.org/3/person/' + str(actorid) + '?api_key=123SECRET').json()
- self.name = response['name']
- self.actorid = actorid
Advertisement
Add Comment
Please, Sign In to add comment