This document provides an introduction to APIs (application programming interfaces). It defines APIs as sets of subroutines, protocols, and tools that allow developers to build software applications more easily. APIs can expose services that are consumed by various client applications, including hardware, software, websites, and mobile apps. Common API styles include REST (Representational State Transfer) and GraphQL, with REST being the most widely used approach currently. The document also discusses API concepts like resources, methods, representations, and contracts to establish trust between providers and consumers.
4. An application programming interface (API) is a set
of subroutine definitions, protocols, and tools for
building application software. A good API makes it
easier to develop a computer program by providing
all the building blocks, which are then put together by
the programmer.
API ?
INTRODUCTION
23. THE RESTAURANT ANALOGY
API Providers = Restaurant Owners
Developer Portal = Restaurant
APIs = Food & Drink items
API definition + Doc = Menu
API consumers (Apps) = Restaurant consumers (people)
Terms of Service = We Reserve The Right To Refuse - No
Substitutions
25. HTTP IS THE UNDERLYING PROTOCOL USED BY THE WORLD WIDE
WEB AND THIS PROTOCOL DEFINES HOW MESSAGES ARE
FORMATTED AND TRANSMITTED, AND WHAT ACTIONS WEB SERVERS
AND BROWSERS SHOULD TAKE IN RESPONSE.
HTTP
WHAT IS HTTP