API: Difference between revisions

From Decimal Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
m (CryptoUser moved page Commoninfo:api to API)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
                     |description= API
                     |description= API
                     }}
                     }}
<div class="mikio-article-content">
{{#seo:
                    |title= API — Decimal Wiki
                    |titlemode= append
                    |keywords= API, Application Programming Interface
                    |description= API, the features of the Application Programming Interface
                    }}
'''API''' or '''Application Programming Interface''' is the [[wikipedia:interface|interface]] of interaction between the website and third-party [[program]]s and [[server]]s.
The programmer can use the API to access the functionality of a third-party program. API ensures the operation of resources that use the potential and power of another website or program.
Using API eliminates the need to create complex programs or Apps. Instead, you can use ready-made parts of existing resources that have access to the information and data you need.
== API usage examples ==
Each of you has probably registered on some online service or platform at least once via social media accounts. This is exactly what API usage is when services or Apps use social media databases. At the same time, the service can receive information about the user and use it for its own purposes.
Another example: [[wikipedia:Amazon|Amazon]] recommends the user books based on the choice of books of his friends on [[wikipedia:Facebook|Facebook]]. [[wikipedia:YouTube|YouTube]] videos can automatically appear on your website or on your social media accounts. This is also possible due to the API, when one program uses the data and information of another. By the way, embedding YouTube videos on your website is possible thanks to the YouTube API service.


<div class="mikio-tags">
== See also ==
* [https://mainnet-explorer-api.decimalchain.com/api/documentation DecimalChain API Documentation]


 
[[Category:Commoninfo]]
 
[[Category:Software]]
</div>
'''Это старая версия документа!'''
 
 
-----
 
<span id="api"></span>
= API =
 
<div class="level1">
 
'''API''' (Application Programming Interface) — интерфейс программирования приложений. Иными словами, это интерфейс взаимодействия между сайтом и сторонними программами и серверами.
 
Программист может воспользоваться API для получения доступа к функционалу сторонней программы. API делает возможным работу ресурсов, которые используют потенциал и мощность другого сайта или программы.
 
Использование API сокращает необходимость создавать самостоятельно сложные программы или приложения. Вместо этого можно использовать готовые части существующих ресурсов, у которых есть доступ к нужным вам информации и данным.
 
 
</div>
<span id="primery_ispolzovanija_api"></span>
= Примеры использования API =
 
<div class="level1">
 
Каждый из вас наверняка хоть раз регистрировался на каком-либо онлайн-сервисе или платформе через свои аккаунты в социальных сетях. Именно это и является использованием API , когда сервисы или приложения используют базы данных социальных сетей. При этом сервис может получать информацию о пользователе и применять её в своих целях.
 
Ещё один пример: Amazon предлагает пользователю книги, основанные на выборе книг его друзей в Facebook. Видео в YouTube могут автоматически появляться на вашем сайте или в ваших социальных сетях. Это тоже возможно благодаря API , когда одна программа использует данные и информацию другой. Кстати, встраивание YouTube-видео на свой сайт возможно благодаря API сервиса YouTube.
 
 
 
</div>
<div style="clear:both">
 
 
 
</div>
 
</div>
[[Category:Commoninfo]]

Latest revision as of 14:52, 2 February 2024

API or Application Programming Interface is the interface of interaction between the website and third-party programs and servers.

The programmer can use the API to access the functionality of a third-party program. API ensures the operation of resources that use the potential and power of another website or program.

Using API eliminates the need to create complex programs or Apps. Instead, you can use ready-made parts of existing resources that have access to the information and data you need.

API usage examples

Each of you has probably registered on some online service or platform at least once via social media accounts. This is exactly what API usage is when services or Apps use social media databases. At the same time, the service can receive information about the user and use it for its own purposes.

Another example: Amazon recommends the user books based on the choice of books of his friends on Facebook. YouTube videos can automatically appear on your website or on your social media accounts. This is also possible due to the API, when one program uses the data and information of another. By the way, embedding YouTube videos on your website is possible thanks to the YouTube API service.

See also