Clone wiki

SimwoodAPI / Home

Simwood API Client - Wiki - Home

Simwood Logo


This php composer package provides a simple object orientated way to interact with the API.


@Lawrence Cherone


Using composer add the package to your project:

composer require opensaucesystems/simwoodapi

Initializing the client

require 'vendor/autoload.php';

 * Initialize the API client class
$simwood = new opensaucesystems\simwood\APIClient(
    'APIUSER', //<-- get from simwood
    'APIKEY'   //<-- get from simwood

Account Id:

I've chosen to not include this in the class construct, so it must be passed to each method call if required, this is because of the way the API has multiple accounts levels.

You can set it in a variable or you can hard-code it to the method call, no biggie!

$account_id = '999999';

Making calls:

To interact with the API its as simple as calling a class method or property, endpoints are dynamically loaded when traversed to.

See the wikis below for further details on each endpoint.

[ ] Todo
[-] Partially done
[X] Done
[!] Broken