Desk.com client
A php 5.3+ wrapper for the Desk.com API
While this is in use in some projects, it will eventually be updated/refactored to be based on Guzzle (work in progress).
Installation
To add php-desk to a project, the easiest way is via composer:
{
"require": {
"99designs/php-desk": "dev-master"
}
}
Usage
Before you use the API, you need an access token and other credentials. Your token can be found under your client application's details in Admin โ General Settings โ API Applications
.
<?php
$desk = new \Desk(
YOUR_DESK_SUBDOMAIN,
YOUR_CONSUMER_KEY,
YOUR_CONSUMER_SECRET,
YOUR_OAUTH_TOKEN,
YOUR_OAUTH_TOKEN_SECRET
);
// TODO: describe API calls here
Copyright
Copyright (c) 2012 99designs See LICENSE for details.