#100DaysOfCode in Python Transcripts
Chapter: Days 97-99: Building JSON APIs
Lecture: Your turn: Day 3

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Final day, Day 99, use Uplink to write a client that then consumes the API. One thing you'll have to be really careful about
0:10 is you have to have the flask server running while you run your client game code, because obviously the server has to be running for you to talk to it.
0:21 Other than that, right, it's pretty straightforward to use Uplink, you can borrow the code that we wrote, and those little helpers
0:28 make the code a little bit cleaner. But use Uplink, or if you'd rather, just use the raw requests code, although it's slightly more cumbersome,
0:36 but would totally work as well, it's not that big of a difference. And I probably won't get done early but if you and you feel like, hey,
0:43 I want to do something bigger, you can jump over here to Heroku, Heroku is like a simple platform,
0:50 it's a service for, really popular among Python developers, and you follow their getting started guide, you could put this not just on your machine,
0:57 but you could put it on the internet and play it from your phone, play it from all over the place, share it with your friend, whatever you want to do.
1:03 So that's kind of a stretch goal if you happen to get there, but if you don't, don't feel bad about it. This is a big deal, this is your
1:11 last major block of three days and so you are almost done with your #100DaysOfCode, it's awesome you made it this far,
1:18 and I hope you're loving what you're doing.


Talk Python's Mastodon Michael Kennedy's Mastodon