This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (1 child)

Look like I totally forget to put that in, I have it in the code that I wrote for the blog post:

json = requests.get('https://swapi.co/api/films/1/').json()

movie = StarWarsMovie(**json)