dev-master
9999999-devUnofficial Indiegogo API
MIT
The Requires
- php >=5.4.0
The Development Requires
by Vladyslav K
api indiegogo
Wallogit.com
2017 © Pedro Peláez
Unofficial Indiegogo API
The preferred way to install this extension is through composer. Either run, (*1)
php composer.phar require --prefer-dist tiamo/indiegogo "*"
or add, (*2)
"tiamo/indiegogo": "*"
to the require section of your composer.json file., (*3)
Initialize client, (*4)
$client = new \Indiegogo\Client();
if ($client->auth($email, $password)) {
$me = $client->getCredentials();
// ...
}
Export Contributions, (*5)
$res = $client->contributionExport($campaignId);
$job = $client->jobStatuses($res['job_id']);
if ($job['status'] == 'completed') {
echo $job['download_url'];
}
Import Contributions, (*6)
$res = $client->contributionImport($campaignId, [
'file' => curl_file_create($filePath)
]);
$job = $client->jobStatuses($res['job_id']);
if ($job['status'] == 'completed') {
// ...
}
Licensed under the MIT license., (*7)
Unofficial Indiegogo API
MIT
api indiegogo