#100DaysOfCode in Python Transcripts
Chapter: Days 55-57: Structured API clients with uplink
Lecture: Your turn: Day 1
0:00 You've seen how fun it is to build API clients with uplink. Now it's your turn, and we're going to have you build an API client against
0:09 an API which has several endpoints. You've seen this service before, over at movie_service.talkpython.fm, and it has these three endpoints.
0:17 Recall we did this in one of our service demos previously but we're going to take an entirely different approach
0:22 and you're going to write that from scratch. So over here, we've seen that we can go /api/search/something,
0:30 here we're searching for all movies that have Run as a substring on keywords, or we can find them by director. Here's all of the movies written by,
0:39 or directed by James Cameron. Things like that. So we're going to take this and let you model it with uplink. So the first day,
0:47 really is just mostly watching the videos and if you've gotten this far, you're pretty much there. So you're mostly done.
0:53 Go ahead and just create a shell project, an empty project that has a virtual environment, it has uplink installed, and program.py and an api.py.
1:06 And then just you know import uplink inside the api.py, import api inside program.py, run program. Make sure it's all hanging together, right?
1:12 So you'll be ready to start for the next day.