Hacker News new | ask | show | jobs
by eks391 437 days ago
An Application Programming Interface provides data to a requester. They are built/shaped by the provider and so the provider usually has documentation for a user to know how to pull and parse it, with example snippets.

Its like having a printer with preset documents it can print. You set it on your desk, and others can click a button to have the chosen preset sheet come out. You can get creative by hiding some buttons, making some buttons also require a fingerprint of the user to print the paper, or the printout changes every minute, etc.

But the API printer sits on someone's server and prints objects, or organized data, and sends it to whatever you used to call, or request, from the API.