#100DaysOfCode in Python Transcripts
Chapter: Days 43-45: Consuming HTTP services
Lecture: Introduction to HTTP APIs
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Hello, this is Michael Kennedy
0:01
and I will be your guide for Day 10, 11 and 12.
0:05
And during these three days you're
0:06
going to work with JSON APIs and
0:09
in particular with a couple of search-based APIs.
0:12
But of course, what you'll learn here
0:13
you'll be able to apply to pretty much any JSON API.
0:18
APIs are really important.
0:20
These are the way that you reach out and
0:21
you add superpowers to your code, to your application.
0:25
You might write an application that has
0:27
some data in the database,
0:28
it's got some information that users have input,
0:31
but maybe you want to add weather information,
0:34
or integrate with Github or talk to Twitter.
0:36
All of these use APIs.
0:38
And so we're going to look at
0:39
the foundation of APIs in this challenge,
0:42
which is basically HTTP and JSON.
0:45
And we're going to do that from Python, of course.
0:47
So we're going to work with two services.
0:50
One service I'm going to demonstrate
0:52
how we write code against it,
0:54
and then I'll give you another service
0:55
for your code challenge that you can play with,
0:58
and if you don't like either of those services
0:59
for your code challenge, feel free to
1:01
just go find another one.
1:02
You'll probably have enough information
1:04
to do something pretty interesting
1:06
after this series of videos.
1:08
So let's go look at this movie db search service.