Skip to main content

APIApp's Method & properties exposed to outside with rules for interacting

aka API, APIs, Application-Programming-Interface, Public-Interface

API is Software use by Software to talk to each other

API define routes (methods) & protocol (rules) to interact with API

Interface Object

Object to interact with API by expose Method & Property Key

API Route

route to endpoint to access Online API, usually via REST

Online API

Software to expose access to remote Web Service/SaaS

Interface

boundary across human/system components to exchange data

Google API

Public APIs Collection

Github Repo of free APIs by categorty, HTTP Access

Source: GitHub - public-apis/public-apis: A collective list of free APIs

SendGrid

Online API to manage mass-email mailing/marketing campaigns

Yelp

Online API business yellowpage with contact/reviews/location/etc

jsonplaceholder

Online API to provide dummy REST JSON HTTP Response

Source: jsonplaceholder.typicode.com/

Low-Level API

API with more granular control over software Module or Hardware, with fewer Abstraction

References

  1. Web APIAPI Collection extends Browser Runtime (via window)

  2. JavaScript RuntimeEnviron (container) to run JS, consists of JS Engine, JS Library & Platform-specific API

  3. Low-Level APIAPI with more granular control over software Module or Hardware, with fewer Abstraction

  4. Encapsulation ↔ (Paradigm) to pack properties & methods into component, to keep private and restrict access (unless expose via API)

  5. Documentation GeneratorDev tool to autogen API docs

  6. WebSocketInterface Object & Constructor to access WebSockets API

  7. Platform API ↔ extra APIs extends JS for specific Runtime Environment

  8. JSONGlobal Object API to acccess Static Method to convert/parse JSON

  9. Memo()React function from useMemo() API for Memoization of any function !snippet for addition

<code>import</code>  {memo} 
const add = (a, b) => a + b;
const memAdd = memo(add)
  1. Web ServiceAPI to access over HTTP

  2. corsNode.js Module for CORS to open up API so accessible by other Domains

  3. eventsNode API for event API

  4. Interface ObjectObject to interact with API by expose Method & Property Key

  5. Resource-based ↔ of REST to expose API as logical resource-based URLs

  6. Public APIs CollectionGithub Repo of free APIs by categorty, HTTP Access

  7. typesenseFOSS ⚡🔍Search Engine X-lang/X-plat Client API - free to self-host

  8. ElasticSearch ↔ powerful Search Engine API notoriously hard to set up?! GP high config can do everything but complex

  9. namespaceTS Syntax to group related Code (mainly for APIs)

  10. docusaurusReact Framework SSG CMS for API docs as SPA with built-in Routing + MDX support

  11. Content RepoDB to store/mod digital content, for search/serve, API to link CMS

  12. Headless CMSBackend-only CMS to decouple content from (Frontend) code, expose Content Repo by API

  13. GraphQLQuery Language with Type Sys/Schema to fetch/mutate (graph-like) data on Backend API/Online API. To fix Overfetch/Underfetch. X-lang

  14. Long Tasks APIAPI to report tasks > 50ms Blocking Main Thread