1
00:00:08,090 --> 00:00:13,400
In the previous video, we explain what is an API.

2
00:00:13,430 --> 00:00:18,530
So in this video, let's talk about types of Web API.

3
00:00:18,560 --> 00:00:20,510
So let's get started.

4
00:00:20,870 --> 00:00:21,590
Great.

5
00:00:21,590 --> 00:00:24,800
For Web APIs, we have two types.

6
00:00:24,800 --> 00:00:28,580
One is what we call the browser API.

7
00:00:28,670 --> 00:00:36,740
When we say browser API, this added API that has been built inside our browsers, for example, Google,

8
00:00:36,740 --> 00:00:42,530
Firefox and any modern browsers we have default browser API.

9
00:00:42,620 --> 00:00:45,530
And that is what I use to build this project.

10
00:00:45,530 --> 00:00:52,940
For example, the my location and then the local storage and then the battery and then the making HTTP

11
00:00:52,940 --> 00:00:53,720
requests.

12
00:00:53,720 --> 00:00:57,080
So this is what we call the browser API.

13
00:00:57,260 --> 00:01:02,090
And in this category is what we call the third party API.

14
00:01:02,270 --> 00:01:09,320
So for third party API, these are the API that has been developed by third party, for example, Google

15
00:01:09,320 --> 00:01:11,060
and any developer.

16
00:01:11,180 --> 00:01:15,370
So let's look at examples of the browser API.

17
00:01:15,380 --> 00:01:24,710
And if you go to the documentation and I'll provide this link for you and you can see here we have different

18
00:01:24,710 --> 00:01:32,150
types of API and it is being categorized in alphabetical order from B down to Z.

19
00:01:32,150 --> 00:01:39,350
So and B we have what is called background fetch API and the battery API and that is what I use.

20
00:01:39,350 --> 00:01:44,210
So if you click on that, you can read more about how it's been implemented.

21
00:01:44,510 --> 00:01:51,440
And then this one that I use is what you call the geolocation API, which is this one, and I will take

22
00:01:51,440 --> 00:01:53,000
you through as well.

23
00:01:53,000 --> 00:01:56,840
So these are examples of the browser API.

24
00:01:57,020 --> 00:02:05,330
And for the third party API, we have a lot of them talking about Google API, Facebook API, Instagram

25
00:02:05,330 --> 00:02:10,190
and we have a website that has a collection of APIs.

26
00:02:10,190 --> 00:02:12,890
And the first one is what we call programmable.

27
00:02:12,890 --> 00:02:14,150
Web.com.

28
00:02:14,150 --> 00:02:22,250
And here we have list of what API and under API directory you can see that we have different types of

29
00:02:22,250 --> 00:02:24,890
API and each category.

30
00:02:24,890 --> 00:02:30,290
So if you want the Facebook API, click on that and look at the implementation.

31
00:02:30,290 --> 00:02:38,840
And then one of the most popular collection of API is what we call the rapid API icon and the same concept

32
00:02:38,840 --> 00:02:44,570
it has collection of APIs that you can use in your future project.

33
00:02:44,570 --> 00:02:52,400
So if I show you how to use one API, you can come here and then explore more about how to use or develop

34
00:02:52,400 --> 00:02:55,820
application using third party APIs.

35
00:02:55,970 --> 00:03:03,680
So the next video, let's have a look how we can use the battery API to develop this application.

