#100DaysOfCode in Python Transcripts
Chapter: Days 97-99: Building JSON APIs
Lecture: Your turn: Day 3
0:00 Final day, Day 99, use Uplink
0:03 to write a client that then consumes the API.
0:07 One thing you'll have to be really careful about
0:09 is you have to have the flask server running
0:12 while you run your client game code,
0:16 because obviously the server has to be running
0:18 for you to talk to it.
0:20 Other than that, right, it's pretty straightforward
0:22 to use Uplink, you can borrow the code
0:25 that we wrote, and those little helpers
0:27 make the code a little bit cleaner.
0:29 But use Uplink, or if you'd rather,
0:30 just use the raw requests code,
0:32 although it's slightly more cumbersome,
0:35 but would totally work as well,
0:36 it's not that big of a difference.
0:38 And I probably won't get done early
0:40 but if you and you feel like, hey,
0:42 I want to do something bigger,
0:44 you can jump over here to Heroku,
0:47 Heroku is like a simple platform,
0:49 it's a service for, really popular among Python developers,
0:52 and you follow their getting started guide,
0:54 you could put this not just on your machine,
0:56 but you could put it on the internet
0:58 and play it from your phone,
0:59 play it from all over the place, share it with your friend,
1:01 whatever you want to do.
1:02 So that's kind of a stretch goal if you happen to get there,
1:06 but if you don't, don't feel bad about it.
1:09 This is a big deal, this is your
1:10 last major block of three days
1:12 and so you are almost done with your #100DaysOfCode,
1:15 it's awesome you made it this far,
1:17 and I hope you're loving what you're doing.