WEBVTT

00:03.720 --> 00:08.160
We have already mentioned that we will use the YouTube API for the data extraction.

00:08.360 --> 00:11.640
But first, let's answer the question what is an API?

00:11.680 --> 00:15.080
To explain this, I will use a popular restaurant analogy.

00:15.400 --> 00:21.240
So going from left to right, you, the client, look at the menu and decide what you want.

00:21.760 --> 00:24.200
Here we will make a request to the waiter.

00:24.880 --> 00:30.480
The waiter, which represents the API, then takes your request to the kitchen which is the server,

00:31.040 --> 00:32.600
and finally the kitchen.

00:32.600 --> 00:38.960
Once it has prepared, your request will send the response back to the waiter and the waiter passes

00:38.960 --> 00:40.920
on this response back to you.

00:41.560 --> 00:48.000
Now that we understand better what an API does, in order for us to be able to make a request to the

00:48.000 --> 00:54.880
waiter, which in our case is the YouTube API, we need to have what is called an API key.

00:55.360 --> 00:58.960
So let's go over how we can get one in the next lecture.
