What is API and what is it for?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
17 views
Help to understand what the API is and how it helps to develop the website? I will be glad to hear comments both from the point of view of programmers and in terms of users.

Thank you
by | 17 views

3 Answers

0 like 0 dislike
Try just:
API for site is a script (usually) that accepts requests (methods GET (site.ru/api.php?a=b), POST), and gives not a normal HTML for browsers, and the result of the query in a specific format (XML, JSON, php serialize()-ed).
Accordingly, it is intended not users and script with a third-party website/service/program that sends these GET/POST requests, gets the result and then uses the data. It sends queries naturally, and to perform a certain action (eg. as the actions performed by users of the site through the browser).
\r
Users programmers need it for integrating with other sites/services, or automating some operations, creating an app for your website. Respectively need it is usually only very popular sites/services.
by
0 like 0 dislike
The horror! Here's to you Vic maybe something to tell: ru.wikipedia.org/wiki/API
\r
And as it is google.com — he knows a lot of all sorts of different answers to all sorts of insidious questions.
by
0 like 0 dislike
by
110,608 questions
257,186 answers
0 comments
28,057 users