language-dependent, meaning it is only available by using the syntax and elements of a particular language, which makes the API more convenient to use.
language-independent, written so that it can be called from several programming languages.
[Fact 5]: Thus, the scope of meaning is usually determined by the context of usage.Most of the modern programming languages provide the documentation associated to an API in some digital format that makes it easy to consult on a computer.
[Fact 6]: E.g.
[Fact 7]: The software providing the functions described by an API is said to be an implementation of the API.An API can be:
general, the full set of an API that is bundled in the libraries of a programming language, e.g.
[Fact 8]: Only works on non-negative operands, unless #you've loaded the standard Math::Complex module. python comes with the tool pydoc:$ pydoc math.sqrtHelp on built-in function sqrt in math:math.sqrt = sqrt]].