Skip to content

bmoex/teamleader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#WORK IN PROGRESS

Teamleader

Generic library for Teamleader API


Information

The library is based on the documentation found in http://apidocs.teamleader.be.

Usage

Generic teamleader api

$teamleader = new \Serfhos\Teamleader\TeamLeaderApi($group, $secret);
var_dump($teamleader->crm()->getContacts());

Or separate per request

Set credentials in the credentials (singleton) class;

\Serfhos\Teamleader\Configuration\ApiCredentials::getInstance()
    ->setGroup($group)->setSecret($secret);

Now you can easily use each separate request based on the documentation.

$crmRequest = new \Serfhos\Teamleader\Request\CrmRequest();
// get the first 100 contacts found
var_dump($crmRequest->getContacts());

About

Library for Teamleader API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages