TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: What an API is for non technical people

11 pointsby inodaalmost 6 years ago

5 comments

gatherhuntereralmost 6 years ago
This is a good analogy but the description is really one of a REST API. An API in general can take a form other than one or more endpoints. An API is a means of consuming a program that is not a GUI or CLI but that needs to be accessed through code. Basic front-end development is wrapping code that consumes an API in a GUI. There are dozens of Javascript APIs built into browsers for code that runs locally.<p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API</a>
ninjualmost 6 years ago
I usually start with saying that an Application <i>User</i> Interface describes how a user (i.e. person) uses the website to get information while an Application <i>Programming</i> Interface describes how another program get information from an application.
breckalmost 6 years ago
If you want to make APIs simpler, a project we have on the backburner is to start getting adoption for folks to offer Tree Notation apis.<p>In the 2000&#x27;s APIs were in XML&#x2F;SOAP&#x2F;WSDL and were a total pain. JSON changed all that.<p>In the 2020&#x27;s Tree Notation is going to do something similar.<p>Here&#x27;s the idea from 2014: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DV4Nv23bBwQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DV4Nv23bBwQ</a> (Tree Notation was called &quot;Space&quot; back then)<p>Here&#x27;s the current Tree Notation project: <a href="http:&#x2F;&#x2F;treenotation.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;treenotation.org&#x2F;</a>
评论 #20574184 未加载
dugluakalmost 6 years ago
With the same analogy, UI is probably the dog trainer who knows all the commands that the dog understands. You tell the trainer what you want the dog to do and trainer issues the right command.
Pete-Codesalmost 6 years ago
Ha, good example!!