1 00:00:04,720 --> 00:00:08,650 Rest APIs advantages in usage. 2 00:00:09,010 --> 00:00:09,760 Hello, everyone. 3 00:00:09,790 --> 00:00:16,780 Today, we're going to talk about the APIs and their advantages in programming using Python. 4 00:00:17,050 --> 00:00:19,570 First of all, let's talk about what is API. 5 00:00:19,750 --> 00:00:26,110 API is basically the application that translates the data that you receive online to you. 6 00:00:26,380 --> 00:00:34,510 For example, if you send a message on Facebook, for example, to a friend, what you actually do is 7 00:00:34,510 --> 00:00:36,250 send the message to Internet. 8 00:00:36,570 --> 00:00:43,310 Then the message is processed and your friend receives your message in words, OK, in reverse so that 9 00:00:43,310 --> 00:00:44,210 he can understand. 10 00:00:44,470 --> 00:00:51,610 So that translation from the Internet to their source to the message that your friend actually gets 11 00:00:51,850 --> 00:00:53,740 is the API process. 12 00:00:54,010 --> 00:01:00,190 So as you can imagine, there are different API tools that are used by programmers in order to translate 13 00:01:00,190 --> 00:01:07,270 the Internet data to an actual data that a programmer or a user can actually use. 14 00:01:08,110 --> 00:01:15,850 So within the web system, we're using an API call to rest and what the rest is basically doing, it 15 00:01:15,850 --> 00:01:23,440 uses the HTP protocol, went into this Internet and then takes the data from the Internet and process 16 00:01:23,440 --> 00:01:29,620 it presents it in easily readable form, such as XML or JS on file. 17 00:01:30,400 --> 00:01:36,880 So as you can see, there are many advantages over the rest API protocol because this is one of the 18 00:01:37,900 --> 00:01:41,530 most used API actually out there. 19 00:01:41,800 --> 00:01:45,730 And the main advantages are on the first place. 20 00:01:45,730 --> 00:01:46,450 Automation. 21 00:01:46,810 --> 00:01:48,640 The scope is automatic. 22 00:01:49,210 --> 00:01:57,880 This sort of simplifies when you obtaining the data from Internet, you can even use the API of some 23 00:01:57,880 --> 00:02:03,250 Web service with your own code in order to obtain or modify the data that you receive. 24 00:02:03,550 --> 00:02:10,420 The second main advantage over the rest API is that it completely separates the clan from the server. 25 00:02:11,170 --> 00:02:19,240 This actually enables the different companies to evolve independently and different the increases, 26 00:02:19,240 --> 00:02:27,470 the portability of that type of API as it can be used separately from each client, also sits on a server. 27 00:02:27,820 --> 00:02:35,200 Obviously, this protocol also has the capability of external access, which means that every user is 28 00:02:35,200 --> 00:02:43,570 able to access the website externally just by providing a password and user name and using the Internet 29 00:02:43,570 --> 00:02:44,770 from remote point. 30 00:02:44,890 --> 00:02:53,860 So for that reason, in this section, we're going to concentrate on the risk APIs, Jason and XML files, 31 00:02:53,860 --> 00:02:59,790 and you'll see how data is actually extracted from Internet current interest for this type of files. 32 00:02:59,800 --> 00:03:04,200 And we're also going to concentrate on how this type of files look like system. 33 00:03:04,210 --> 00:03:12,350 For example, the XML file is one of the most widely used types of files in the companies. 34 00:03:13,090 --> 00:03:20,170 And I can tell you from my personal experience that this is something that many students do not study 35 00:03:20,170 --> 00:03:21,250 in university. 36 00:03:21,450 --> 00:03:29,990 However, absolutely every company I work for is using XML and Jason files in order to translate data. 37 00:03:30,340 --> 00:03:37,660 So this section right now, it's actually very, very important for you if you want to learn just basic 38 00:03:37,670 --> 00:03:39,900 skills that you can use in your workflow. 39 00:03:40,300 --> 00:03:48,730 So keep watching, concentrate and do the tasks of the course once they can get to your deserved and 40 00:03:49,420 --> 00:03:51,020 well desired job. 41 00:03:51,850 --> 00:03:52,640 So that's it. 42 00:03:52,660 --> 00:03:54,790 This will be the end of that introduction video. 43 00:03:54,860 --> 00:03:59,050 Guys, thanks for watching and bear with me in the next video. 44 00:03:59,070 --> 00:03:59,890 So that section.