0% found this document useful (0 votes)
136 views3 pages

API For Beginners

Uploaded by

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

API For Beginners

Uploaded by

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

API for Beginners – Application Programming

Interfaces

Very important to a language

- [Link]() is an API
- Media player for IOS or android is an API

Web API is very important

-You can use an API without completely understanding it, but you need to know how to use them to
your advantage according to how they work

Remote API

-Robot, Drone, Traffic signs.

-Shazaam – Searches all the songs in its database and finds your recording. Also very fast!

- Google translator with camera- real time processing!

-Computational power!

Browser client -> URI -> Server

HTTP Hypertext Transfer Protocol

Browser sends HTTP request for you(GET-read only) and then server sends it back

HTTP is traditionally stateless. Once it receives request, it’s all done.

Rest – Representational State Transfer

-APIs must meet constraints that define it


Client(probably your program) -> makes request to server via HTTP-> Server

-It’s stateless so you’ll need to send your credentials every time in the request

-almost everything is a resource or collection

-Usually data comes back as JSON (Javascript Object Notation)

HTTP Verbs

Using Spotify REST API

(Check for API in the footer- it says Developers)

Lots of reference documentation that you’ll get used to once you use lots of APIs

You might also like