#100DaysOfCode in Python Transcripts
Chapter: Days 97-99: Building JSON APIs
Lecture: Writing the full client
0:00 You saw how easy these are to add.
0:02 Let me just drop in the other however many more,
0:04 five methods or whatever it is.
0:07 So we've got play_round, which has the body.
0:09 We've got top_scores.
0:10 We've got game_status, and so on.
0:13 That rounds out our little game service.
0:15 And we'll come over here,
0:17 we'll create one of these.
0:19 Create the top of our main method, actually,
0:20 let's do that.
0:22 And then we can call things like all_rolls
0:24 or Top Scores, and see what we get.
0:29 There's all_rolls, these are the top scores.
0:31 Michael apparently has scored one,
0:33 which beats, I guess everything else was score zero.
0:36 Yeah, it looks like it.
0:37 Okay, so, really, really cool!
0:39 This lets us interact with this service.
0:42 Now let's add in the logic.