====== APIs ====== Wassan API?? Idonyooo, well I do know. API stands for Application Programming Interface. Its basically an alternative to a UI (User Interface) which is usually visual and made for end users. An API is an alternative way to speak to an application. It works with clearly defined rules and boundaries as to what an endpoint can accept or will respond. Like a browser it works with HTTP except that the browser is missing and you're talking using requests and responses directly. It can be very useful for automatic communication between applications or even within an application between frontend and backend. Bigger tech companies or applications usually have APIs which allows for alot of third party applications like apps that track your most listened artists or albums on Spotify. Documentation is essential for APIs because badly documented APIs can easily lead to confusion in the person trying to implement it. Unclear or even incorrect parameter or header descriptions can lead to difficult implementation or even simply not working. If endpoints aren't described well, thats even worse. Return values are also important to correctly document, including datatypes and limits etc. Example of a badly documented API is the [[https://docs.cloudsigma.com/en/latest/|CloudSigma API]].. A well documented API however is the [[https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/openapi/openapi_v3.yaml|Gitlab API]] it describes what every single endpoint does, which options you can give it and what you'll get from it very well-