{"id":228,"date":"2021-04-27T00:42:34","date_gmt":"2021-04-27T00:42:34","guid":{"rendered":"https:\/\/enorcerna.com\/wiki\/definition\/api\/"},"modified":"2021-04-27T00:42:34","modified_gmt":"2021-04-27T00:42:34","slug":"api","status":"publish","type":"post","link":"https:\/\/enorcerna.com\/wiki\/definition\/api\/","title":{"rendered":"API"},"content":{"rendered":"<div>\n<p><img decoding=\"async\" loading=\"lazy\" loading=\"lazy\" src=\"https:\/\/enorcerna.com\/wiki\/wp-content\/uploads\/2021\/04\/api.jpg\" alt=\"API\" width=\"183\" height=\"136\" class=\"alignright size-full wp-image-39608\" align=\"right\"\/><strong>API<\/strong> is a <strong>initials<\/strong> that comes from the English language and refers to the expression <strong>Application Programming Interface<\/strong> (whose translation is <strong>Application Programming Interface<\/strong>).  The concept refers to the processes, functions and methods provided by a <strong>certain programming library<\/strong> as an abstraction layer to be used by another computer program.<\/p>\n<p>We can understand the API as a <strong>code<\/strong> which tells applications how they can <strong>maintain communication with each other<\/strong>.  These rules allow the different programs to maintain interactions.<\/p>\n<p>Another way to understand what an API is is by supplying functions that are in widespread use.  In this way, a programmer can use the functionality of an API and thus avoid starting the programming task from scratch.  Thanks to your <strong>flexibility<\/strong>APIs help to avoid a large volume of work that is usually common to many projects, offering instead a code that has been tested by millions of users and that, in many cases, continues to receive maintenance and updates to ensure its stability.<\/p>\n<p>An API is used to establish a <strong>communication<\/strong> with a <strong>database<\/strong>, a <strong>operating system<\/strong> or a <strong>communications protocol<\/strong>, to name a few possibilities.  Even the <strong>social media<\/strong> use different APIs: a tool to manage tweets, for example, can use an API to establish communication with the servers it uses <strong>Twitter<\/strong>.<\/p>\n<p>One of the keys to the operation of APIs is the <strong>ease of integration<\/strong>.  These tools have to be simple to integrate with another <strong>software<\/strong> so that communications can develop successfully.  Likewise, your updates should not conflict to keep your performance at its best.<\/p>\n<p>To avoid problems related to your updates, it is necessary that one of the following two points is met, or both: that the <strong>Format<\/strong> the data sent in response to the program in which it is integrated does not change;  that the documentation very clearly explains how to adapt the program so that it can continue to use such data.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" loading=\"lazy\" src=\"https:\/\/enorcerna.com\/wiki\/wp-content\/uploads\/2021\/04\/API.jpg\" alt=\"API\" width=\"260\" height=\"200\" class=\"alignnone size-full wp-image-47914\"\/>In addition to social networks, one of the platforms whose API is most used globally is <strong>PayPal<\/strong>.  It is an ideal online payment system to simplify international transactions, both private and professional.  When a developer wants to include a payment gateway from this company on his website, he must use the API distributed free of charge and follow the instructions to find the <strong>setting<\/strong> that best suits your needs.<\/p>\n<p>In a few steps, it is possible to embed the PayPal form, simply taking advantage of the functions offered by its API, which are <strong>the result of hundreds of hours of work and has been tested by millions of people around the world<\/strong>.  If we wanted to do this from scratch, regardless of the fact that in this particular case we could not directly access PayPal's servers, we would have to dedicate a lot of work time, to write and test each line of code, and that would unnecessarily delay the <strong>growth<\/strong> of our project.<\/p>\n<p>The work of programmers is very particular in that it is characterized by constant learning, given the pace at which languages \u200b\u200band technologies in which they are used evolve.  Among their daily activities is the <strong>consultation<\/strong> from the documentation of one or more APIs, to find the functions you need at each step.<\/p>\n<p>It is important to remember that both the API and the <strong>idioms<\/strong> programming are \"arbitrary\" in that they could be made in infinite ways: a function called <em>Upload Messages<\/em>, for example, it might as well be called <em>Get Feedback<\/em>, <em>Login<\/em> or even <em>Blue house<\/em>;  the names of the variables and functions are chosen by the developers, and that is why it is necessary to consult the API documentation to know them.<\/p>\n<\/div>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;228&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;API&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>API is a initials that comes from the English language and refers&hellip;<\/p>\n","protected":false},"author":1,"featured_media":229,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-228","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-definition"],"_links":{"self":[{"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":0,"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/media\/229"}],"wp:attachment":[{"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enorcerna.com\/wiki\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}