字幕表 動画を再生する 英語字幕をプリント what is an A P I? An AP eyes an application program interface. This is the way that online platforms, whether they be Twitter, Facebook, YouTube or drop bucks box, give outside applications ways to interact with the platform so you can read posts or read things from the platform. Or you can write things to the platform or find any other kind of information. And so the issue with these online platforms is they want to be able to give access to outside applications. But they don't want to give too much information to the outside application, so they don't necessarily want outside applications to know what databases run internally to Facebook or Twitter. They don't necessarily want outside applications to know what programming languages run in on the internal infrastructure. They don't necessarily want too much data to be be provided to outside applications, but they do want some access so that other companies can build their applications to be a bit of work with again Twitter or Facebook. So this is when you think about applications that are able to tweet to your Twitter profile, so you type something in that's that's not on Twitter, but you can click a button and it will send it to Twitter. Well, the thing is, is that application that you're using is using an A P I to connect to Twitter. And so when you click, tweet this and then uses that a p I, it sends your information sends that tweet to the twitter, a p I the Twitter AP I read the information and then that posts that to your Twitter feed. And so that's the basic idea of what a P I is is. It allows these external applications to be able to read and write to again companies such as Twitter and Facebook. Now, whenever you're dealing with a P eyes, it's important. Understand is there is not one standard AP I system. So when you're using Facebook, Facebook has its way of dealing with AP. Twitter has its Way of Dealing With AP Eyes Drop box has its way of dealing with AP eyes the programming language that you will use to connect to these different AP eyes maybe different. Some AP eyes required. Use python some a P. I is required to use PHP some AP eyes require. You used to use Ruby on rails. So it is important. Understand, when you're connecting to thes online service is that in order to connect to the A P I, you simply have to use whatever programming language they tell you to use. If you use PHP and Facebook requires python, then you simply have to learn python. This is not This is not one of those times when you can. You can question or you can try to try to mess around and make it work. You simply have to use whatever language they require you to use. Beyond that, we look at authentication in order to normally set up an account to allow you to connect to an A P I. You have to go through the platform. You actually have to set up an account. They'll give you keys, and they'll give you authentication credentials for your application to be a bit connect to their A p I. And so again, that is all done per platform. So Facebook has their own way of doing it. Twitter has their own way of doing it. Dropbox has their own way of doing that, so on and so forth. Additionally, beyond that realize that you are dealing with terms of service whenever you're dealing with these AP eyes, so AP eyes can be given freely and AP eyes could be taken away. So you saw this with Twitter in the past. One of the ways that Twitter was able to grow very quickly is that initially they were incredibly open to outside applications. So many, many outside applications were developed in order to read from Twitter feeds in order to write from Twitter feeds. To be able to do all this kind of fancy stuff with Twitter, the problem was, after a few years, Twitter decided they didn't want so many of these outside applications to be a bit connect the Twitter. And then more or less overnight, they stripped a lot of the AP eyes away. They stripped a lot of the things that were able to be done with the AP eyes and the companies that have been using these AP eyes that basically built their Web applications off of these AP eyes. Many of them literally went out of business overnight because there was simply nothing that they could d'oh everything with the A P. I is controlled by the Internet platform and the moment that they decide to to either cut off the A P I or to change the rules, there's nothing that you can d'oh. So this is something that you should keep in mind whenever you're dealing with a P eyes. So all in a p I is an application program interface is at the end of the day. And is this the way that your application is able to communicate with that? That Web application, Facebook or Twitter? Um, it's all reliant upon the terms of service of that, that vendor. It's also reliant on what they allow you to do and what programming languages they allow. This is very important. Understand whether it's python, whether it's whether it's ruby on rails, whether it's PHP. What language the your application has to use to communicate with them is old determined by what they have decided. So that's what an A P A. P. I is an application program interface, and that's why it matters.