Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I was going through terms like like API, library and framework.
API struck me as a very broad term.

In my reading, outside of web, API is "a set of features and rules that exist inside a software program (the application) enabling interaction with it through software". What i understood of this statement is, it is a code block that is essentially being used by a software to interact with another software without human involved in middle i.e user can be on one side but not in between like
"User--->User Interface--->Software--->API--->Software"

But when i include Web, API is "a set of code features (e.g. methods, properties, events, and URLs)". This totally changes the definition of API, now it becomes more of a user interface definition, you can say user in this case is a programmer, not any person in general but still it is like
"User--->API--->Software"

Now along these lines of web API would it be right to say function identifiers, properties identifiers, events, Urls all can be called API ?

What I have tried:

I have discussed on various discord servers but nobody gives clear answer. I have posted question on stack overflow but no response at all.
Posted
Comments
OriginalGriff 7-Dec-21 4:14am    
Morning Jake ... :sigh:
Richard MacCutchan 7-Dec-21 5:27am    
No. An API is a complete collection of external interfaces that allow a client to make use of a software package's features. What goes on inside is the implementation which is not known to the clients.
[no name] 7-Dec-21 11:46am    
An API is a "public" method or property / field.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900