Starting off
An API is a set of functions to make your programming easier.
An Example: If you want to make a rednet spamming program when you would need to write all the rednet stuff. But with an API installed. You can do all that in a single line
Getting one
Obtaining an API is simple. Just download one from this very forum. Use the pastebin download and once you have the API move on the to next step.
Loading it
Make a startup file with the code
os.loadAPI("<API NAME HERE>")
Using it
Create another file with a different name and type in the code for that API into it and run it.
A small tip
If a program that you have made requires an API please tell the people here about it. We don't want the best program ever to error because we missed out a tiny little API?
And make sure to credit the creator of the API (Not doing it could result in legal issues)
PS: Another way to test an API is to use the LUA console
Edited by FoxData, 23 July 2016 - 04:54 PM.