#100DaysOfWeb in Python Transcripts
Chapter: Days 17-20: Calling APIs in Flask
Lecture: Your 4 day overview
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
All righty, so here's the plan for the next couple of days. We're going to be dealing with a couple of APIs, we're going to specifically use one
0:08
around Chuck Norris jokes and then a second one around Pokemon. For Day 1, you'll just be watching videos
0:15
3 till 6; that involves setting up your environment learning about sending objects and variables to your Flask template, and this is all
0:24
to do with the Chuck Norris API. It's pretty simple. Follow along as well as you can. If you can't do the coding at the same time
0:33
because you run out of time, and that's okay then let that flow into your Day 2. Your Day 2 is going to be just coding.
0:41
You're not going to watch any videos unless you're just referring back to Videos 3 to 6. In Day 2, you will be catching up
0:49
with the code that you may have missed on Day 1 otherwise I'd actually like you to expand on the app.
0:54
Nice and simple, just go and create yourself a menu bar. It's not really Flask related other than just editing that base HTML file
1:03
which you'll learn about shortly. If you have time on Day 2, go and check out the list of APIs that I've got here.
1:11
It's pretty cool, there are some pretty fun ones in there. Choose something other than Chuck Norris or Pokemon; please don't touch those.
1:18
That's what we're using for the course and see if you can just get some static data from there and print it to your web page
1:24
just practicing everything you've learned. Day 3 we're going to move on to Videos 7 through 12. There's quite a lot of content
1:31
so don't worry if you don't get a chance to code unless you can keep up with the coding. The important thing is that you just watch the videos
1:38
and learn as you go. Day 4, continue building on Day 3. Do the actual code now, so follow along build the app, and this is all to do
1:48
with the Pokemon API. I won't spill the beans yet, so you can wait till you get to the data actually figure out what it is you're doing
1:55
and as for the remainder of Day 4, just go ahead and follow these instructions here put in some error checking, check out the rest
2:04
of the API Endpoints, and if you're really brave have a go at returning more data to the app that we created than just the Pokemon name.
2:14
See if you can get their nature their form, their habitat, whatever else is associated with the Pokemon. And that's it, that's Days 1, 2, 3, and 4
2:23
of Calling APIs in Flask. So head on over to Video 3, set up your environment and get coding.