IfpaApi
A PHP wrapper class to simplify access the IFPA API., (*1)
Installation
The easiest way to install the library is using Composer. Add the following to your project's composer.json, under the "require" key:, (*2)
"heyrocker/ifpaapi": "dev-master"
and run, (*3)
php composer.phar update
and everything will get installed. You will then need to, (*4)
use Ifpa/IfpaApi
in any code where you use the API., (*5)
If you're confused by this new-fangled stuff you can always just drop the PHP file somewhere and include it., (*6)
Usage
In order to use the class you will need your API key. If you don't have an API key you can get one by visiting http://www.ifpapinball.com/api., (*7)
$ifpa = new IfpaApi("<your_key");
Once you have an IfpaApi object, there are a variety of methods you can call which correspond to API calls and return appropriate objects., (*8)
Have fun!, (*9)