0% found this document useful (0 votes)
26 views9 pages

API Software Design Finals

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views9 pages

API Software Design Finals

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

APPLICATION

PROGRAMMING
INTERFACE (API)
Prepared by: Mr. Glenn F. Madrid Jr.
Introduction to API

An Application Programming
It allows the programmers to
Interface (API) is a set of
use predefined functions to
commands, functions and
interact with systems,
protocols which
instead of writing them from
programmers can use when
scratch.
building a software.
Characteristics Easy to learn and use, Hard to misuse.
of good API
Easy to read and maintain code that
uses it.

Is programming language neutral.

Sufficiently powerful to support all


computational requirements
API Key
• An application programming interface key (API key) is a code
passed in by computer programs calling an application programming
interface (API) to identify the calling program, its developer, or its
user to the Web site. API keys are used to track and control how the
API is being used, for example to prevent malicious use or abuse of
the API.

USES
• The API key often acts as both a unique identifier and a secret token
for authentication, and will generally have a set of access rights on
the API associated with it.
• API keys can be based on the universally unique identifier (UUID)
system to ensure they will be unique to each user.
API Example
Think of an API like a menu in a
restaurant. The menu provides a list of
dishes you can order, along with a
description of each dish. When you
specify what menu items you want, the
restaurant’s kitchen does the work and
provides you with some finished dishes.
You don’t know exactly how the
restaurant prepares that food, and you
don’t really need to.
GOOGLE MAPS API
if you’ve ever seen a Google Maps
object embedded on a website, that
website is using the Google Maps API
to embed that map. Google exposes
APIs like this to web developers, who
can then use the APIs to plop complex
objects right on their website. If APIs
like this didn’t exist, developers might
have to create their own maps and
provide their own map data just to put a
little interactive map on a website.
Example Continued—
Google and Facebook API
API Polling

You might also like