#100DaysOfCode in Python Transcripts
Chapter: Days 55-57: Structured API clients with uplink
Lecture: Your turn: Day 2

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Now, for Day 2, you're going to work with this movie service. Now, I just copied these over for you. Here are the three API endpoints.
0:09 So, /api/search/{keyword}, /api/director/{directorname}, things like that. So, I've kind of laid out the goals of what I
0:19 would like you to do on this particular day. On the second day, what I want is for you to more or less create the movie search client class.
0:27 This is the uplink client. Don't have to test it, you don't have to use it, but you're going to need to add three methods to it, one for each endpoint.
0:34 All right, and there's a few other steps about like setting the base URL, and things like this. And here's just a reminder of how this generally looks.
0:42 This is not what you do for this one but, you'll have a class, interactional consumer, you have a method,
0:47 it derives from uplink.get, and you can pass parameters. So, shouldn't be a huge effort for you, I hope. But, fill this out to match these three end
0:56 points as you see fit.

Talk Python's Mastodon Michael Kennedy's Mastodon