educratsweb logo


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 and bharatpages.in . I Love blogging and Enjoy to listening old song. ....
Enjoy this Author Blog/Website visit http://twitter.com/bharatpages

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. 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
2. 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
3. Outstanding translation agency
Pangeanic is a professional translation agency that offers translation, website localization services and transcription services, always with professional results. The following are the different types of translations offered by the agency. Standard translation service One of its most popular translation services. Pangeanic translators produce high-quality translations, which are th
4. 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
5. 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
6. 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
7. 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
8. 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
9. NTPC allowed to use drones for research and inspection of Thermal Power Projects
Ministry of Civil Aviation (MoCA) and Directorate General of Civil Aviation (DGCA) have granted conditional exemption to National Thermal Power Corporation (NTPC) for the deployment of Remotely Piloted Aircraft System (RPAS) for carrying out research and inspection activities at Vindhyachal Super Thermal Power Station, Madhya Pradesh, Gadarwara Super Thermal Power Plant, Madhya Pradesh, and Sipat Super Thermal Power Project, Chhattisgarh using drones. Shri Amber Dubey, Joint Secretary, Ministry
10. 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.
11. 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
12. 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.
13. 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
14. 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
15. 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
16. 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:
17. 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.  
18. 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
19. Education Minister virtually attends Diamond Jubilee Celebration of Commission for Scientific and Technical Terminology
Union Minister of Education Shri Ramesh Pokhriyal ‘Nishank’ virtually attended Diamond Jubilee Celebration of Commission for Scientific and Technical Terminology (Department of Higher Education) as Chief Guest today. Union Minister of State for Education Shri Sanjay Dhotre also attended the event through video conferencing as Guest of Honor. The Commission has done important work in the creation and development of Scientific and Technical Terminology for Hindi and other Indi
20. 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
21. Contour and Mphasis Partner to Accelerate the Digital Transformation of global Trade Finance
Contour and Mphasis Partner to Accelerate the Digital Transformation of global Trade Finance
22. Science, Technology and Innovation Policy, 2020
Science, Technology and Innovation Policy, 2020 Science, Technology and Innovation Policy, 2020 Introduction As India and the world reorient in the wake of the COVID-19 crisis, a landmark policy initiative has been flagged by the Government of India. The Science, Technology and Innovation Poli
23. 321 Free Tools for Teachers - Free Educational Technology
Jacob Lund/Shutterstock.com Free Educational Technology for Teachers Do you support Free Technology for Teachers? If Yes, I highly encourage you to share this Free Educational Technology Reso
24. Study showing stars of varied ages can co-exist in open clusters, provides clue to stellar evolution in the Milky Way Galaxy
Study showing stars of varied ages can co-exist in open clusters, provides clue to stellar evolution in the Milky Way Galaxy Stars in our Galaxy are formed from the molecular clouds present in the Galaxy. It is believed that the majority of stars in our Galaxy are formed in the star clusters making them important clues to understand the star formation mechanism. Open star clusters are a system of stars bound by gravity in which stars are born from the same molecular clouds. All the stars in a
25. IACS Kolkata INSPIRE faculty’s work on Black Holes and Gravitational Waves to help understanding fundamentals of our nature
IACS Kolkata INSPIRE faculty’s work on Black Holes and Gravitational Waves to help understanding fundamentals of our nature Dr. Sumanta Chakraborty from School of Physical Sciences and School of Mathematical and Computational Sciences at the Indian Association for the Cultivation of Science (IACS) Kolkata, a recipient of the INSPIRE faculty award instituted by the Department of Science & Technology, Govt of India has provided new ways to look into the thermodynamic properties of bla
26 Non-Teaching Vacancy Recruitment in NIT Jalandhar 2020 #Punjab 5 Days Remaining for Apply
Dr. B. R. Ambedkar National Institute of Technology (NIT), Jalandhar (Punjab) invites online applications in the prescribed format for Recruitment to the following various 93 Non-Teaching Sarkari Naukri vacancy posts (Advt. No. 04/2020) NIT Jalandhar Non-Teaching Recruitment 2020 Vacancies     Technical Assistant : 23 vacancies (UR-11, EWS-02, OBC-06, SC-03, ST-01), Pay Scale : Pay Level-6 ₹35400-112400     SAS Assistant : 02 vacancies ...
27 Recruitment of Non-Teaching Vacancy in NIFTEM #Jobs 16 Days Remaining for Apply
 Recruitment of  Non-Teaching  Vacancy in NIFTEM NIFTEM invites online application in the prescribed format for the recruitment of the following Non-Teaching Sarkari Naukri vacancy in NIFTEM in various disciplines in the office of NIFTEM. This is Government Job in Haryana State. (Advertisement No. N/HR&/H/2020/31) ...
28 Recruitment of Assistant Professor Faculty Vacancy in MSU Baroda 2020 #Gujarat 2 Days Remaining for Apply
Recruitment of Assistant Professor Faculty Vacancy in MSU Baroda 2020 The Maharaja Sayajirao University (MSU) of Baroda at Vadodara (Gujarat) invites online applications on prescribed form format from Indian Citizens for the recruitment and appointment of the Faculty Sarkari Naukri Vacancy Post of Assistant Professor under Contractual Educational Services (CES) for the period of five years to be filled at various Higher Payment Academic Programmes in the MSU Baroda. (Adver ...
29 Lucknow University Faculty Vacancy Recruitment 2020 #Uttar Pradesh 6 Days Remaining for Apply
Online Applications in the prescribed format from Indian Citizens are invited for the recruitment of various Faculty Government Job posts of Professors, Associate Professors, and Assistant Professors in various Self Financing Programs of the Lucknow University (Uttar Pradesh). (Advertisement No. R/03/2020) Lucknow University Faculty Vacancy Recruitment 2020 ...
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

http://educratsweb(dot)com http://www.educratsweb.com/content.php?id=1884 http://educratsweb.com educratsweb.com educratsweb