0% found this document useful (0 votes)
2 views

1. What is API and Web API

An API is a software intermediary that facilitates communication between applications, with types including Private, Partner, and Public APIs. Web APIs specifically allow web applications to interact with databases and provide data through HTTP requests, often requiring an API key for authentication. The document outlines the process of using Web APIs, including registration and making requests for data.

Uploaded by

sohel kazi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

1. What is API and Web API

An API is a software intermediary that facilitates communication between applications, with types including Private, Partner, and Public APIs. Web APIs specifically allow web applications to interact with databases and provide data through HTTP requests, often requiring an API key for authentication. The document outlines the process of using Web APIs, including registration and making requests for data.

Uploaded by

sohel kazi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Application Programming Interface (API)

An API is a software intermediary that allows two or more applications to talk to


each other.

API Type in terms of Release Policies:-


• Private – It can be used within the organization.
• Partner – It can be used within Business Partners.
• Public – It can be used any third party Developers.
Provider

Google Map API


Application
Google Map

Consumer
Flipkart API JioMart API
Provider Provider

Consumer Website

Snapdeal API Amazon API


Provider Provider
Database
Application
Database
API
Web Application
How use API

Database
API
Application

API Key/Token: 23423jkhjhgh32434hjgjh4343


Web API
An API, which is interface for web is called as Web API.
It may consist of one or more endpoints to define request and response.
How Web API Works

Web API

Database
Web Application

• Client makes HTTP Request to API


• API will communicate to Web Application/Database (If needed)
• Web Application/Database provides required data to API
• API returns Data to Client

Note – Json Data, XML Data


How to use Web API

Database
API
Web Application

• Register/Sign-up to API
• API may provide API Key for Authentication purpose
API Key/Token: 23423jkhjhgh32434hjgjh4343
• Whenever you need to communicate with server make Request to API with API Key
http://geekyshows.com/?key=23423jkhjhgh32434hjgjh4343
• If API Key authentication succeed, API will provide required Data

You might also like