A PHP wrapper class to simplify access the IFPA API
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
LICENSE
README.md
composer.json

README.md

IfpaApi

A PHP wrapper class to simplify access the IFPA API.

Installation

The easiest way to install the library is using Composer. Add the following to your project's composer.json, under the "require" key:

	"heyrocker/ifpaapi": "dev-master"

and run

	php composer.phar update

and everything will get installed. You will then need to

	use Ifpa/IfpaApi

in any code where you use the API.

If you're confused by this new-fangled stuff you can always just drop the PHP file somewhere and include it.

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.

	$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.

Have fun!