WHAT IS AN API? (APPLICATION PROGRAMMING INTERFACE) #EDUCRATSWEB

  • Home
  • Jobs
  • Q&A
  • Register
  • Login

  • An application programming interface (API) is a computing interface to a software component or a system, that defines how other components or systems can use it. It defines the kinds of calls or requests that can be made, how to make them, the data formats that should be used, the conventions to follow, etc. It can also provide extension mechanisms so that users can extend existing functionality in various ways and to varying degrees. An API can be entirely custom, specific to a component, or it can be designed based on an industry standard to ensure interoperability. Some APIs have to be documented, others are designed so that they can be "interrogated" to determine supported functionality. Since other components/systems rely only on the API, the system that provides the API can (ideally) change its internal details "behind" that API without affecting its users.

    Today, with the rise of REST and web services over HTTP, the term is often assumed to refer to APIs of such services when given no other context (see the Web APIs section).

    What is an API? (Application Programming Interface)

    Sometimes the term API is, by extension, used to refer to the subset of software entities (code, subcomponents, modules, etc.) that serve to actually implement the API of some encompassing component or system.

    Purpose

    In building applications, an API (application programming interface) simplifies programming by abstracting the underlying implementation and only exposing objects or actions the developer needs. While a graphical interface for an email client might provide a user with a button that performs all the steps for fetching and highlighting new emails, an API for file input/output might give the developer a function that copies a file from one location to another without requiring that the developer understand the file system operations occurring behind the scenes.
    Libraries and frameworks

    An API usually is related to a software library. The API describes and prescribes the "expected behavior" (a specification) while the library is an "actual implementation" of this set of rules.

    A single API can have multiple implementations (or none, being abstract) in the form of different libraries that share the same programming interface.

    The separation of the API from its implementation can allow programs written in one language to use a library written in another. For example, because Scala and Java compile to compatible bytecode, Scala developers can take advantage of any Java API.

    API use can vary depending on the type of programming language involved. An API for a procedural language such as Lua could consist primarily of basic routines to execute code, manipulate data or handle errors while an API for an object-oriented language, such as Java, would provide a specification of classes and its class methods.

    Language bindings are also APIs. By mapping the features and capabilities of one language to an interface implemented in another language, a language binding allows a library or service written in one language to be used when developing in another language.Tools such as SWIG and F2PY, a Fortran-to-Python interface generator, facilitate the creation of such interfaces.

    An API can also be related to a software framework: a framework can be based on several libraries implementing several APIs, but unlike the normal use of an API, the access to the behavior built into the framework is mediated by extending its content with new classes plugged into the framework itself.

    Moreover, the overall program flow of control can be out of the control of the caller and in the hands of the framework by inversion of control or a similar mechanism.
    Operating systems

    An API can specify the interface between an application and the operating system.POSIX, for example, specifies a set of common APIs that aim to enable an application written for a POSIX conformant operating system to be compiled for another POSIX conformant operating system.

    Linux and Berkeley Software Distribution are examples of operating systems that implement the POSIX APIs.

    Microsoft has shown a strong commitment to a backward-compatible API, particularly within its Windows API (Win32) library, so older applications may run on newer versions of Windows using an executable-specific setting called "Compatibility Mode".

    An API differs from an application binary interface (ABI) in that an API is source code based while an ABI is binary based. For instance, POSIX provides APIs while the Linux Standard Base provides an ABI.
    Remote APIs

    Remote APIs allow developers to manipulate remote resources through protocols, specific standards for communication that allow different technologies to work together, regardless of language or platform. For example, the Java Database Connectivity API allows developers to query many different types of databases with the same set of functions, while the Java remote method invocation API uses the Java Remote Method Protocol to allow invocation of functions that operate remotely, but appear local to the developer.

    Therefore, remote APIs are useful in maintaining the object abstraction in object-oriented programming; a method call, executed locally on a proxy object, invokes the corresponding method on the remote object, using the remoting protocol, and acquires the result to be used locally as a return value.

    A modification on the proxy object also will result in a corresponding modification on the remote object.
    Web APIs

    Web APIs are the defined interfaces through which interactions happen between an enterprise and applications that use its assets, which also is a Service Level Agreement (SLA) to specify the functional provider and expose the service path or URL for its API users. An API approach is an architectural approach that revolves around providing a program interface to a set of services to different applications serving different types of consumers.

    When used in the context of web development, an API is typically defined as a set of specifications, such as Hypertext Transfer Protocol (HTTP) request messages, along with a definition of the structure of response messages, usually in an Extensible Markup Language (XML) or JavaScript Object Notation (JSON) format. An example might be a shipping company API that can be added to an eCommerce-focused website to facilitate ordering shipping services and automatically include current shipping rates, without the site developer having to enter the shipper's rate table into a web database. While "web API" historically has been virtually synonymous with web service, the recent trend (so-called Web 2.0) has been moving away from Simple Object Access Protocol (SOAP) based web services and service-oriented architecture (SOA) towards more direct representational state transfer (REST) style web resources and resource-oriented architecture (ROA).Part of this trend is related to the Semantic Web movement toward Resource Description Framework (RDF), a concept to promote web-based ontology engineering technologies. Web APIs allow the combination of multiple APIs into new applications known as mashups. In the social media space, web APIs have allowed web communities to facilitate sharing content and data between communities and applications. In this way, content that is created in one place dynamically can be posted and updated to multiple locations on the web. For example, Twitter's REST API allows developers to access core Twitter data and the Search API provides methods for developers to interact with Twitter Search and trends data.
    Design

    The design of an API has significant impact on its usage.The principle of information hiding describes the role of programming interfaces as enabling modular programming by hiding the implementation details of the modules so that users of modules need not understand the complexities inside the modules.Thus, the design of an API attempts to provide only the tools a user would expect.The design of programming interfaces represents an important part of software architecture, the organization of a complex piece of software.

    Several authors have created recommendations for how to design APIs, such as Joshua Bloch,Kin Lane,and Michi Henning.Patterns for the design and evolution of remote APIs are covered in a series of EuroPLoP papers.

    educratsweb.com

    Posted by: educratsweb.com

    I am owner of this website. I Love blogging and Enjoy to listening old song. ....
    Enjoy this Author Blog/Website visit http://twitter.com/educratsweb

    if you have any information regarding Job, Study Material or any other information related to career. you can Post your article on our website. Click here to Register & Share your contents.
    For Advertisment or any query email us at educratsweb@gmail.com

    RELATED POST
    1. India International Science Festival-2020 will showcase 41 events highlighting multi-dimensional aspects of science, technology and innovation in India
    Several curtain raiser events are being organized for generating awareness about the 6thIndia International Science Festival (IISF-2020) to be held virtually this year. At such an event at CSIR – Indian Institute of Toxicology Research, Lucknow,  Dr Shekhar C Mande, Secretary, Department of Scientific and Industrial Research (DSIR), Director General, Council of Scientific and Industrial Research and Chairman, Steering Committee, IISF – 2020, in his key note address, said that t
    2. Mphasis Announces Quantum Computing Framework and Consulting Services
    Mphasis Announces Quantum Computing Framework and Consulting Services   ~ Mphasis offers Quantum-b
    3. TallyPrime to simplify e-invoicing compliance through connected solution
    TallyPrime to simplify e-invoicing compliance through connected solution TallyPrime to simplify e-invoicing compliance through connected solution   ·         Tally Solutions enables end-to-end connected experience for e-invoicing through it
    4. Unicode <=> Kruti dev Converter
    कितना भी बड़ा Text टेक्स्ट हो एक साथ संबंधित बॉक्स में पेस्ट कर दें। यह कृतिदेव को यूनिकोड व यूनिकोड को कृतिदेव में बदलेगा। जब आप कन्वर्ट का कार्य पूरा कर चुके हों तो बाॉक्य में जाकर कंट्रोल ए या सले
    5. ISMO: India Science Month Online | January 2021 | At your home
    India Science Fest is India’s largest public celebration of science and technology.We strongly feel that India needs to step up its S&T and innovation agenda, in order to keep up its economic progress and social development. The gap between science and society needs to be bridged immediately. ISF endeavors to serve as platform for deeper engagement between scientists, researchers, professionals, entrepreneurs and students. We wish to have the public involved in the latest in science and get all
    6. Instamojo digitises more than 2 lakh small businesses post the pandemic
    Instamojo digitises more than 2 lakh small businesses post the pandemicInstamojo digitises more than 2 lakh small businesses post the pandemic
    7. React JS & Java Full Stack Developer among the top 5 digital skills in demand this year: Quess Report
    React JS & Java Full Stack Developer among the top 5 digital skills in demand this year: Quess Report   React JS developer is the most sort after job role in Mar-Oct 2020 with an uptick of 184% in openings; Bengaluru witnessed t
    8. IT minister announces launch of Grand Challenge for strengthening the COVID Vaccine Intelligence Network (CoWIN) system
    Ministry of Health and Family Welfare (MoHFW) along with Ministry of Electronics and Information Technology (MeitY) has announced the launching of “CoWIN”, a Grand Challenge for strengthening the COVID Vaccine Intelligence Network (CoWIN) system, a digitalised platform to be us
    9. Rajya Sabha passes Indian Institutes of Information Technology Laws (Amendment) Bill, 2020 today
    Rajya Sabha passed Indian Institutes of Information Technology Laws (Amendment) Bill, 2020 in New Delhi today. The Indian Institutes of Information Technology Act of 2014 and Indian Institutes of Information Technology (Public-Private Partnership) Act, 2017 are the unique initiatives of the Government of India to impart knowledge in the field of Information Technology to provide solutions to the challenges faced by the country.The Indian Institutes of Information Technology Laws (Amendment) Bill, 2020 wa
    10. Prime Minister Narendra Modi to inaugurate the summit Responsible AI for Social Empowerment 2020 on October 5
    Ministry of Electronics and Information Technology (MeitY) and NITI Aayog are organizing a Global Virtual Summit on Artificial Intelligence (AI), RAISE 2020- ‘Responsible AI for Social Empowerment 2020,’ from October 5-9, 2020. The Summit will be inaugurated by Prime Minister Shri Narendra Modi in the august presence ofMinister of Electronics & IT, Communications and Law &Justice, Shri Ravi Shankar Prasad, eminent global AI expert Professor R
    11. Get Ready to Learn RPA Blue Prism
    We are living in the midst of a digital era. Technology can enable us to  automate  business processes using Artificial Intelligence (AI) and software rather than people, wherever possible. A technology for this purpose is Robotic Process Automation (RPA). RPA can have a transformative impact on organizations by lowering costs, increasing reliability, and executing quickly. It can also let IT
    12. Private Sector Participation in Space Sector
    Government has created Indian National Space, Promotion &Authorization Centre (INSPACe), under Department of Space to encourage, promote and hand hold the private sector for their participation in Space Sector. Private players will also be able to use ISRO infrastructure through INSPACe.The decision of Government was conveyed to the Members of the scientific community elaborately, and scientific community welcomed the Government decision. The role of New Space India Limited (NSIL) in the po
    13. CSIR-CMERI comes up with High Flow Rate Water Purification Technology for Fluoride and Iron Removal
    NEED OF THE TECHNOLOGY: The contamination of fluoride and iron in drinking water is increasing day by day. Iron is the most abundant trace element in human body, responsible for accomplishment of vital biological functions such as gastrointestinal processes and the regulation of body temperature. But when iron level in water is beyond 0.3 ppm (as per WHO guideline), it shows several adverse effects including liver disease, irregular heart rhythm and neuronal disorder etc.
    14. Government is implementing several schemes to encourage students/youth of the country towards the field of science and technology: Dr. Harsh Vardhan
    It has been a part of Government’s Science and Technology (S&T) policy toencourage the students/youth of the country towards the field of science and technology. The first three key elements of Science, Technology, and Innovation (STI) Policy of 2013 Are: Promoting the spread of scientific temper amongst all sections of society. Enhancing skill for applications of science among the young from all social strata. Making careers in scienc
    15. ERP Software is key for companies´ digital transformation
    The traditional focus of ERP software is to help automate business processes, especially those that are considered critical to ensure the basic operation of the company. On the other hand, digital transformation has a broader and more disruptive focus, in which companies seek new ways of doing things to satisfy and delight their customers. ERP software is the first stage of transformation, but it requires additional work. The mastery of ERP software in
    16. The top Python developers in the United States
    Python is a Swiss Army Knife for programmers. It is a veteran programming language present in many applications and operating systems. We can find it running on servers, in iOS, Android, Linux, Windows or Mac applications. This is because it has a moderate learning curve and because its philosophy emphasizes offering a readable code syntax. It is a versatile multiplatform and multiparadigm programming language that stands out for its readable and clean code. On
    17. Indian Astronomers discover one of the farthest Star galaxies in the universe.
    As a landmark achievement in Space missions, Indian Astronomers have discovered one of the farthest Star galaxies in the universe.
    18. Successful Flight Test of SMART
    Supersonic Missile Assisted Release of Torpedo (SMART) has been successfully flight tested today 5th Oct 2020 at 1145 hrs from Wheeler Island off the coast of Odisha. All the mission objectives including missile flight upto the range and altitude, separation of the nose cone, release of Torpedo and deployment of Velocity Reduction Mechanism (VRM) have been met perfectly. The tracking stations (Radars, Electro Optical Systems) along the coast and the telemetry stations including down range ships
    19. Department of Science & Technology is having three binational Centres
    Presently the Department of Science & Technology, Govt. of India is having three binationalCentres namely Indo-French Centre for Promotional of Advanced Research (IFCPAR)established with France in 1987, Indo-US Science & Technology Forum (IUSSTF) established in2000 with USA and Indo-German Science & Technology Centre (IGSTC) established in 2010under inter-governmental agreements. During last three years, the following new programmes have been launched by these binationalCentres:
    20. Tata Motors Limited to supply 150 Nexon XZ+ electric compact SUVs & Hyundai Motor India Ltd. to supply 100 units of its Kona electric Premium SUVs
    Energy Efficiency Services Limited (EESL), a Super Energy Service Company (ESCO) under the administrative control of Ministry of Power, Government of India, will procure 250 electric vehicles from Tata Motors and Hyundai Motor India. The companies were selected through an international competitive bidding process, which was aimed at increased participation. Tata Motors Limited and Hyundai Motor I
    21. Workshop to mark 20 years of Himalayan Chandra Telescope to highlight the science it produced
    In the cold, dry desert of Ladakh, 4500 meters above the mean sea level, for two decades, the 2-m diameter optical-infrared Himalayan Chandra Telescope (HCT) at the Indian Astronomical Observatory (IAO) has been scanning the night sky in search of stellar explosions, comets, asteroids, and exo-planets. The telescope remotely operated using a dedicated satellite communication link from the Centre for Research & Education in Science & Technology (CREST), Indian I
    22. National Super Computing Mission (NSM) is boosting high power computing in the country
    India is fast expanding its supercomputer facilities and developing the capacity to manufacture its own supercomputers in the country. The National Super Computing Mission (NSM) is rapidly boosting high power computing in the country through its various phases to meet the increasing computational demands of academia, researchers, MSMEs, and startups in areas like oil exploration, flood prediction as also genomics, and drug discovery. With the infrastructure planned in NSM Phase-I alre
    23. IPFT developes Bio-Pesticide Formulation for insect control in seed spice crops as safe alternative to chemical pesticides
     The institute of Pesticide Formulation Technology  (IPFT ) under the Department of Chemicals and Petrochemicals ,Ministry of Chemicals and Fertilizers in collaboration with ICAR- National Research Center on Seed Spices (NRCSS), Ajmer, Rajasthan has successfully developed new Aqueous Suspension formulation technology of bio-pesticide based on  entomo-pathogenic fungus Verticillium lecanii.  
    24. From Touchless Soap & Water Dispenser, Mechanical Ventilator to Pioneering E-classroom Software or Low-cost Rapid Diagnostic Device and Innovating Air Providing Virus Destroying Mask, Covid 19 has forced Scientists to Seek for Fastest Innovations to Survive, Opine Researchers
    Miss Digantika Bose studies in Class XII at Memari V M Institution Unit II, Burdwan. But in her tender age she is very much influenced by the principle of Thomas Alva Edison that ‘To invent, you need a good imagination and a pile of junk’. And as the proverb goes, Necessity is the mother of invention, Digantika has felt the utter helpless- ness of common people in the wake of Covid 19 pandemic to survive and has come up with Air Providing and Virus Destroying Mask which has received the accla
    25. 11 Digital Education Tools For Teachers And Students
    The Most Popular Digital Education Tools For Teachers And Learners Hundreds of digital education tools have been created with the purpose of giving autonomy to the student, improving the administration of academic processes, encouraging collaboration, and facilitating communication
    26 CIMAP Scientist Technical Officer Vacancy Recruitment 2020 #Jobs 16 Days Remaining for Apply
    CIMAP Scientist Technical Officer Vacancy Recruitment 2020 CSIR-Central Institute of Medicinal and Aromatic Plants (CSIR-CIMAP), invites online applications in the prescribed format from Indian citizens for the recruitment of Government Job vacancy posts of Scientists and Technical Officer from enthusiastic young and dynamic Indian Nationals involved in Product Development/Technology Innovation/Applied Technology/Translation Research having excellent academic record/proven ...
    27 Manager Job Vacancy Recruitment in NPS Trust 2021 #Jobs 9 Days Remaining for Apply
    National Pension System Trust (NPS Trust) invites online applications in the prescribed format from eligible Indian citizens for recruitment to fill up the following Sarkari Naukri vacancy posts of Officer Grade B (Manager) and Officer Grade A (Assistant Manager) across different streams on direct recruitment basis. (Advertisement No. 2/2020-21) NPS Trust Manager Jobs Recruitment 2021 Vacancies ...
    28 IBPS IT Jobs Vacancy Recruitment 2021 #Bank 19 Days Remaining for Apply
     Institute of Banking Personnel Selection (IBPS), an autonomous body, has been authorised by the IBA, invites online applications in the prescribed format from eligible candidates for selection of personnel to the following Information Technology (IT) Sarkari Naukri Vacancy posts in IBPS. IBPS IT Jobs Recruitment 2021 Vacancies     Analyst Programmer - Windows: 01 vacancies     Analyst Programmer - Frontend: 02 vacancies   ...
    29 Recruitment of Faculty & non-Teaching Vacancy in IIT Tirupati 2021 #Jobs 9 Days Remaining for Apply
    Indian Institute of Technology (IIT) Tirupati (Andhra Pradesh) invites online applications in the prescribed format from candidates with an established record of independent high-quality research and commitment to teaching for regular Faculty Sarkari Naukri Vacancy positions of Professor, Associate Professors, and Assistant Professor and regular non-teaching staff vacancies. (Advertisement No. IITT/FAC – RMT-01/2020 & IITTP/Staff RMT-01/2020) Government Jobs Vacancy Recruitment IIT Tirup ...
    30 दिखाओ अपनी प्रतिभा पूरे देश को हिन्दुस्तान ओलिंपियाड के साथ #Scholorship 19 Days Remaining for Apply
    दिखाओ अपनी प्रतिभा पूरे देश को हिन्दुस्तान ओलिंपियाड के साथHindustan Olympiad Identified as one of the world’s biggest Olympiads with a legacy of ...
    We would love to hear your thoughts, concerns or problems with anything so we can improve our website educratsweb.com ! visit https://forms.gle/jDz4fFqXuvSfQmUC9 and submit your valuable feedback.
    Save this page as PDF | Recommend to your Friends
    Add FREE Listing to Bharatpages Business Directory
    Read this site in Bengali English Gujarati Hindi Kannada Punjabi Tamil Telugu Urdu or Any other Language Google's cache Page
    January 20 - Historical Events - On This Day
    Subh Budhwar (Wednesday)  IMAGES, GIF, ANIMATED GIF, WALLPAPER, STICKER FOR WHATSAPP & FACEBOOK
    Subh Budhwar (Wednesday)

    Great Republic Day Sale | 20th - 23rd Jan  IMAGES, GIF, ANIMATED GIF, WALLPAPER, STICKER FOR WHATSAPP & FACEBOOK Great Republic Day Sale | 20th - 23rd Jan

    Recent Posts

    Bihar Government Calendar 2021  IMAGES, GIF, ANIMATED GIF, WALLPAPER, STICKER FOR WHATSAPP & FACEBOOK Bihar Government Calendar 2021

    Jobs & Career Engineering Faculty & Teaching Defense & Police UPSC Scholorship Railway IT & Computer SSC Clerk & Steno UGC NET
    Contents News Education General Awareness Government Schemes Admit Card Study Material Exam Result Scholorship DATA Syllabus Contact us
    Explore more Archives Web Archive Register / Login Rss feed Posts Free Online Practice Set Useful Links / Sitemap Photo / Video Search Pincode Best Deal Greetings Recent Jobs Guest Contributor educratsweb Latest Jobs Notification sarkariniyukti.blogspot.com Bharatpages - BUSINESS DIRECTORY IN INDIA - FREE ONLINE BUSINESS LISTING
    Our Blog Bhakti Sangam chitragupta ji maharaj shri shirdi sai baba sansthan

    Great Republic Day Sale | 20th - 23rd Jan
    Great Republic Day Sale | 20th - 23rd Jan

    Guest Post | Submit   Job information   Contents   Link   Youtube Video   Photo   Practice Set   Affiliated Link   Register with us Register login Login
    educratsweb logo
    educratsweb provide the educational contents, Job, Online Practice set for students.
    if you have any information regarding Job, Study Material or any other information related to career. you can Post your article on our website. Click here to Register & Share your contents.
    For Advertisment email us at educratsweb@gmail.com
    Search | http://educratsweb.com/content.php?id=1884