Question:
Can anyone help me understand meaning of API in simple words?
2013-06-24 02:33:23 UTC
API is related to software development packages.
Six answers:
2013-06-24 02:43:17 UTC
API = application program interface . in simple words rules to make programs , like code of conduct

Generally speaking, an application programming interface (API) specifies how some software components should interact with each other.

In practice in most of the cases an API is a library that usually includes specification for routines, data structures, object classes, and variables.
RAVEN
2013-06-24 05:17:00 UTC
An API is just an interface program or script (PHP is very common) that tells different software programs how they should interact with each other in order to accomplish certain tasks.



For example, one of my clients has a custom PHP/MySQL program/DB that add/tracks memberships and writes insurance policies, but uses Shopsite for its shopping cart system. Shopsite was already in place on the client's server before the custom program was written, and the client didn't want to change it as it was selling other merchandise at the time, and was easily maintained by staff.



We didn't have access to the Shopsite source code to make changes, but the 2 programs needed to interact with each other in order to pass the policy information to the cart system for final payment, and back to the membership/policy program for policy activation and new member entry (you need to be a member to buy the insurance policies).



Shopsite, like many programs, does have an API function, and we were able to write a custom API script that allowed the membership/policy program to interface with the cart system so that it passes the information between the two programs.



Just think of an API as an instruction program that tells each program what to do and how to do it so that the programs can work with each other to get what you require. There's not much more to it than that; API's can be simple (just a few lines of code) or extremely complex depending on the task, but their basic function is pretty simple.
Pragati SIngh
2013-06-24 02:35:37 UTC
API, an abbreviation of application program interface, is a set of routines, protocols, and tools for building software applications. A good API makes it easier to develop a program by providing all the building blocks. A programmer then puts the blocks together.
Cone
2013-06-24 02:39:01 UTC
Its very common to have In a game called minecraft

Basically what it does is allows Players to add a Mods or plugin folder to the minecraft game.

The basic and some of the expert minecraft Players have no idea What API is and that it even exists.

basically the game runs it, and it checks for a mod folder, and if a mod folder is located, it try's to read the folders/files inside the mod folder so basically it can read the scripting/data

so that in your game, you can have moded items/textures ... ect ect....



I am pretty much a noob when it comes to explaining what API

but from somewhat of a Self experience, that Is what I am guessing.

I hope this info helps you a little, so you can get to the right direction.
?
2013-06-24 02:36:57 UTC
Application Programming Interface



An interface that system (?) modules expose for programmers to program their applications for that system (e.g. in windows - windows exposes "GetForegroundWindow()" or "GetModuleFileName()" etc. function for application programmers to use.).
Akash
2013-06-24 09:54:56 UTC
http://www.vogella.com/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...