prahladyeri / indiegogo
An unofficial Indiegogo client library
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/prahladyeri/indiegogo
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-11-08 23:44:26 UTC
README
Installation
-
Add the following require to your
composer.jsonrequire block:"require": { "prahladyeri/indiegogo": "1.*" }
-
Update composer:
composer update
Usage
Use Loader::indie_get_comments() to pull comments and Loader::indie_get_contributions() to pull contribution details.
//get comments
$data = Indiegogo\Loader::indie_get_comments('e88bd0a00305bfdfb18003a75665643b');
echo $data->count . " comments fetched!\n";
foreach($data->response as $comment){
echo $comment->id, $comment->created_at, $comment->text,"\n";
echo "\n";
}
//get contribs
$data = Indiegogo\Loader::indie_get_contributions('e88bd0a00305bfdfb18003a75665643b');
echo $data->count . " contributions fetched!\n";
foreach($data->response as $contrib){
echo $contrib->id, $contrib->created_at, $contrib->amount, $contrib->by,"\n";
}