What is an API?

GetGoing: Introduction to Golang Introduction to API development with Go
1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
This is a free item
$0.00
د.إ0.00
Kz0.00
ARS$0.00
A$0.00
৳0.00
Лв0.00
Bs0.00
B$0.00
P0.00
CA$0.00
CHF 0.00
CLP$0.00
CN¥0.00
COP$0.00
₡0.00
Kč0.00
DKK kr0.00
RD$0.00
DA0.00
E£0.00
ብር0.00
€0.00
FJ$0.00
£0.00
Q0.00
GY$0.00
HK$0.00
L0.00
Ft0.00
₪0.00
₹0.00
ISK kr0.00
¥0.00
KSh0.00
₩0.00
DH0.00
L0.00
ден0.00
MOP$0.00
MX$0.00
RM0.00
N$0.00
₦0.00
C$0.00
NOK kr0.00
रु0.00
NZ$0.00
S/0.00
K0.00
₱0.00
₨0.00
zł0.00
₲0.00
L0.00
QR0.00
SAR0.00
SEK kr0.00
S$0.00
฿0.00
₺0.00
$U0.00
R0.00
ZK0.00
Already have an account? Log In

Transcript

Hi, everyone. So let us begin the section by understanding what is an API. So an API stands for application programming interface. So it exposes a set of functions and procedures, which can be invoked at any interface. So with all of this technical jargon, let me support my opponent with a quick diagram. So you look over here, any web application or any mobile application, what it does is it talks to an API, what an API says is that, okay, let's let's talk about a blogging API.

So I have a web application, which is a blogging application, I have to create a blog. So my API is going to be exposing a procedure, which says that, okay, if you want me to create a blog, I'll create a blog for you. Then our web application, it simply sends a request to the API in a certain format. So if we're talking about rest, then we have rest JSON format, and other formats. And JSON stands for JavaScript Object Notation. So This is a specific notation in which our interface needs to send a request to the API to let it know what functions or procedures it wants to run.

Then our API can say that okay, this is your request, I will return a status that, okay, your blog was created. Now, the same thing can happen with our mobile application. So the thing with building API's is that your interface can be anything. It can be a mobile application, it can be a web application, it can be something that runs on your smartwatch. All it requires is an internet connection. And this is going to run on your web API.

So in our case, we are going to be making a server which is going to be acting as an API for a web application. So we talked about API's in this video. Let's see you guys in the next video where we talk about the model view and controller architecture of APS.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.