Open Sourcer at Pindo ‣ Community Builder at forLoopRwanda ‣ Kigali FIFA18 Championship Organiser ‣ Live in Kigali, Rwanda Twitter: @kenessa_jr Github: @kenessa Speaker Deck: @kenessa
Interface. API’s allows external system to interact with the given system. A real world example: Gearstick, Accelerator, Steering wheels all interact with your car.
to developers when writing software (Developer Experience). ✤ To increase developers efficient and to make easier for developers and achieve goal on the behalf of the users.
(REpresentational State Transfer). REST is the standard architecture for building APIs REST allow separating your API into logical structure which are (GET, POST, PUT, DELETE, PATCH) Example of RESTful API Endpoints (URL HTTP Method Operation) You can choose https://api.example.com/* as url root
you want a single value) ✤ user nouns and not verbs in endpoints ✤ Make sure the name are largely self-explanatory ✤ avoid abbreviation ✤ make sure it’s readable and easy to use
API stability and consistency ✤ There are various strategy to version your API ✤ Versioning with the URL Example: api.example.com/v1/ ✤ Versioning trough the content negotiation Example: Accept: version=2