#100DaysOfCode in Python Transcripts
Chapter: Days 97-99: Building JSON APIs
Lecture: Writing the full client

Login or purchase this course to watch this video and the rest of the course contents.
0:00 You saw how easy these are to add. Let me just drop in the other however many more, five methods or whatever it is.
0:08 So we've got play_round, which has the body. We've got top_scores. We've got game_status, and so on. That rounds out our little game service.
0:16 And we'll come over here, we'll create one of these. Create the top of our main method, actually, let's do that.
0:23 And then we can call things like all_rolls or Top Scores, and see what we get. There's all_rolls, these are the top scores.
0:32 Michael apparently has scored one, which beats, I guess everything else was score zero. Yeah, it looks like it. Okay, so, really, really cool!
0:40 This lets us interact with this service. Now let's add in the logic.


Talk Python's Mastodon Michael Kennedy's Mastodon