An API, or Application Program Interface, is a set of rules that make it possible for applications to interact with each other and share data.
endpoint
GET http://google.com
GET http://wikipedia.com
GET http://facebook.com
Additional information passed through a URL. This can be used to authenticate a request, or customize the server’s response.
https://api.foursquare.com/v2/venues/search?ll=40.6612333,-73.98995479999999&
v=20150518
GET
Most API providers require basic authentication.
https://api.foursquare.com/v2/venues/search?
ll=40.6612333,-73.98995479999999&
v=20150518&
client_id=IN4V05KYYXLPDXGIHMCDSPVIAG30BTOG4NC3AEAYFYIQZID0&
client_secret=CD31L2IZKSYQ1AAGTHQQEF2GHXJLI43CXYV1KVCEEUQZQ2G4
https://api.foursquare.com/v2/venues/search?
ll=40.6612333,-73.98995479999999&
v=20150518&
client_id=IN4V05KYYXLPDXGIHMCDSPVIAG30BTOG4NC3AEAYFYIQZID0&
client_secret=CD31L2IZKSYQ1AAGTHQQEF2GHXJLI43CXYV1KVCEEUQZQ2G4
query string