API Development
API Development
Development
Makoto Evarolo
Ivan De La Pena
Regil Tagalogon
Charles Xander Cullog
Jude Thaddeus Gabaisen
API
An API (Application Programming
Interface) is a set of rules that allows
different software applications to
communicate with each other. APIs
enable integration between systems,
making data and functionality accessible
without exposing internal code.
Why APIs Are Important?
Interoperability – APIs connect different systems and platforms.
modular design.
automatically.
Key Concepts of API
Development
1.Endpoints
These are specific URLs where an API can be accessed. Ex:
GET https://api.example.com/users
2.HTTP Methods
GET – Retrieve data
POST – Create new data
PUT – Update existing data
DELETE – Remove data
3.Authentication & Authorization
API Keys – A simple token for access control.
OAuth 2.0 – Secure token-based authentication.
JWT (JSON Web Token) – A compact and secure token format.
fetch(file)
.then(x => x.text())
.then(y => myDisplay(y));
sample code
Python (Requests Library)