1
00:00:00,120 --> 00:00:04,860
Hello and welcome, everybody, and in the upcoming lessons, I'm going to take you through how to set

2
00:00:04,860 --> 00:00:09,420
up a YouTube API from scratch, connecting to a YouTube API.

3
00:00:09,420 --> 00:00:14,760
You can search for whatever term you want and it will return back results so you can set up and you

4
00:00:14,760 --> 00:00:16,620
can move through the different results.

5
00:00:16,650 --> 00:00:22,260
So we've got a previous we've got it next that all of the data and everything coming from the API.

6
00:00:22,270 --> 00:00:24,990
So this is a result coming back from the API.

7
00:00:24,990 --> 00:00:28,830
And as you can see, there's a ton of information available on YouTube.

8
00:00:29,010 --> 00:00:34,170
So we're going to show you how you can make use of that and restructure it and output it so that you

9
00:00:34,170 --> 00:00:37,780
can utilize it within your own code and within your own application.

10
00:00:38,040 --> 00:00:40,470
So we've got it coming in in a different format.

11
00:00:40,650 --> 00:00:47,850
And then we've taken that information and output it as a title, an image, an ID, a description.

12
00:00:47,940 --> 00:00:55,230
And using each one of these that's being returned back, we can link out to the video, see the description,

13
00:00:55,380 --> 00:00:57,630
as well as the title of the video.

14
00:00:57,870 --> 00:01:01,560
And all of this information is available just through that API.

15
00:01:01,560 --> 00:01:07,660
So we make a request using Fetch JavaScript fetch and we get the data and then we make use of the data.

16
00:01:07,680 --> 00:01:10,170
So this is also presented as JSON data.

17
00:01:10,410 --> 00:01:18,000
We bring it in as a JavaScript object and then we utilize it as its object format and output it into

18
00:01:18,030 --> 00:01:18,280
the.

19
00:01:18,300 --> 00:01:21,240
And as you can see, we do focus on JavaScript.

20
00:01:21,330 --> 00:01:23,910
So HTML and access is going to be a minimal.

21
00:01:24,030 --> 00:01:30,060
And you can also take this code, you can apply your own success in your own HTML and I'm sure make

22
00:01:30,060 --> 00:01:31,530
it look a whole lot better.

23
00:01:31,800 --> 00:01:34,110
Source code is also included.

24
00:01:34,290 --> 00:01:40,560
So you take the code, try that within your own editor and your own browser and get familiar with what

25
00:01:40,560 --> 00:01:42,120
it is and what it's doing.

26
00:01:42,120 --> 00:01:47,820
And I do suggest that as you work through the lessons that you do, try the code out as it is the best

27
00:01:47,820 --> 00:01:52,710
way to learn if you have any questions or comments or need clarity on anything that's being covered

28
00:01:52,860 --> 00:01:58,410
within the course and the course lessons you can please ask me within the Q&amp;A section.

29
00:01:58,530 --> 00:02:03,000
I'm always happy to help or if you have any suggestions to improve the course, make it even better.

30
00:02:03,180 --> 00:02:07,620
I'm always happy to listen to that as well, so I know you're excited to get started.

31
00:02:07,770 --> 00:02:08,970
So let's set this up.

32
00:02:09,120 --> 00:02:14,790
And also one other prerequisite before we begin is that you do have a Google account so that you can

33
00:02:14,790 --> 00:02:20,910
connect and get your own epik in order to connect to the Google API, dive right in and start coding

34
00:02:20,910 --> 00:02:22,050
some JavaScript.
