jdoyle / sifter
An API library for SifterApp.com
0.0.1
2016-02-25 04:27 UTC
Requires
- php: >=5.4.0
- curl/curl: 1.3.0
- nesbot/carbon: 1.21.0
Requires (Dev)
- josegonzalez/dotenv: 2.0.0
- phpunit/phpunit: ~4.0|~5.0
This package is not auto-updated.
Last update: 2025-01-02 01:26:32 UTC
README
Example Usage
$apiKey = '2345LIKUYGWE35246KUYG2EKG'; $apiSubdomain = 'example'; $sifter = new Sifter(new SifterCurl($apiKey, $apiSubdomain)); $projects = $sifter->allProjects(); foreach($projects as $project) { echo $project->getName(); echo "<br>"; echo $project->getPrimaryCompanyName(); echo "<br>"; echo "<h3>People</h3><br>"; $people = $project->people(); foreach($people as $person) { echo $person->getUsername() . " : " . $person->getFullName() . "<br>"; } }