Personal tools

APIs

University of Washington_091921A
[University of Washington]
 

 

- Overview

An API (Application Programming Interface) is a set of rules allowing different software applications to communicate, acting as an intermediary that sends requests and returns data. 

An API functions like a digital waiter, enabling systems to share information securely without exposing internal code. 

APIs accelerate development, enhance connectivity, and allow functionality integration.

1. How APIs Work:

  • Request: A client application (e.g., a mobile app) initiates an API call to a server.
  • Processing: The server receives the request, processes it, and fetches data or performs an action.
  • Response: The server sends the requested data or confirmation back to the client.


2. Key API Types: 

  • Public/Open APIs: Available for any developer to use.
  • Private/Internal APIs: Used within an organization to connect systems.
  • Partner APIs: Shared between specific business partners.
  • Composite APIs: Combine multiple data or service APIs.


3. Common Protocols & Standards:

  • REST (Representational State Transfer): The most common web API architecture, utilizing HTTP requests.
  • SOAP (Simple Object Access Protocol): A strict, secure protocol often used in financial services.
  • GraphQL: A query language that allows clients to define exactly what data they need.


4. Benefits of APIs:

  • Automation: Systems can update workflows automatically.
  • Integration: Connects disparate applications, such as a website connecting to Google Maps.
  • Security: Provides a secure, authorized layer between data and applications.
  • Efficiency: Developers avoid building features from scratch.


5. Common Use Cases:

  • Payment Gateways: Websites processing payments via Stripe or PayPal.
  • Social Media Management: Apps publishing posts to multiple platforms.
  • Data Integration: Travel sites showing live flights and pricing.
  • AI Integration: Websites utilizing OpenAI’s GPT model.

 

Please refer to the following for more information:

 

 

[More to come ...]


 

 

Document Actions