theninthnode / appointedd-php

Appointedd PSR-0 Package

Home Page:http://appointedd.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Appointedd PHP Client

Build Status

##Getting Started

###Composer

Install the composer PHP package

Add the following to your composer.json require section:

"appointedd/appointedd-php": "dev-master"

and run composer update

###Manually

It's recommended that you use Composer, however you can download and install from this repository.

Please note. This client requires the Guzzle REST PHP package.

###Laravel 4

This package comes with a Service Provider for easy integration with Laravel4.

Add the following entry to the providers array in config/app.php

'Appointedd\Appointedd\AppointeddServiceProvider'

##Usage

use Appointedd\Appointedd\Appointedd; // Non-Laravel users only

$apClient = Appointedd::setAccessToken('gTHZNc7DVZJI24KIcFLHTipMIqUWFSrA');
$customers = $apClient->get('organisation/customers');
if(is_object($customers))
	var_dump($customers->json());

##Endpoints

TODO

Unit Tests

Make sure you have PHPUnit installed. cd into the package root and run phpunit

About

Appointedd PSR-0 Package

http://appointedd.com


Languages

Language:PHP 100.0%