APIs

Application Programming Interface

  • Endpoint
  • Paths
  • Parameters
  • Authentication

Endpoint

https://api.syberstar.com/

Path

https://api.syberstar.com/{Path}

Eg: https://api.syberstar.com/quotes

Parameters

https://api.syberstar.com/{Path}?key=value

Eg: https://api.syberstar.com/quotes?contains=computer

- Multiple Parameters

https://api.syberstar.com/{Path}?key=value&key=value

Eg: https://api.syberstar.com/quotes?contains=computer&category=programming

Authentication

Sample api
https://sample.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API key}

here "appid={API key}" refers to the Authentication.

working of openweathermap api

https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API key}
------------ x -----------

JSON

JavaScript Object Notation