티스토리 뷰

code/javascript

What is an API?

golee922 2021. 5. 7. 14:17

An Application Programming Interface (API) is a set of commands, functions, protocols, and objects that programmers can use to create software or interact with an external system. 

 

e.g., api.kanye.rest,  https://v2.jokeapi.dev/joke/Programming?contains=debugging,

http://api.openweathermap.org/data/2.5/weather?q=London&appid=******random numbers and letters********&units=metric

 

  • Endpoint
  • Paths
  • Parameters
  • Authentication