aplex/readme.org

9 lines
679 B
Org Mode

#+TITLE: aplex Api's
* Each library should have an init function to configure url tokens or anything else user specific for the api
* Library's do not need to be complete as they can be expanded as needed, hopefully this will help things expand and flesh out over time
* There should be one function for each api route
* API libraries should just build the requests as maps which can be formatted and passed over to which ever library the project has chosen.
** This allow us to avoid pulling in different http libraries and implementations per api
* Validation should be seperate to the requests making ie optional and written in a way to pipe the request into the validation.