library galantom-api-php
Official PHP Client Library for the Galantom Web API Edit
galantom/galantom-api-php
Official PHP Client Library for the Galantom Web API Edit
- Friday, May 18, 2018
- by gabrielsolomon
- Repository
- 1 Watchers
- 0 Stars
- 14 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 27 % Grown
galantom-api-php
, (*1)
, (*2)
Official PHP Client Library for the Galantom Web API, (*3)
, (*4)
Installation
Prerequisites
Install Package
Add SendGrid to your composer.json file.
If you are not using Composer, you should be.
It's an excellent way to manage dependencies in your PHP application., (*5)
{
"require": {
"galantom/galantom-api-php": "^1.0"
}
}
, (*6)
Quick Start
<?php
// If you are using Composer (recommended)
require 'vendor/autoload.php';
$galantom_api_token = getenv('GALANTOM_API_TOKEN');
use GalantomApi\GalantomClient;
$client = GalantomClient::factory(
['api_token' => $galantom_api_token]
);
// Get list of donations
/** @var \GuzzleHttp\Command\Result $response */
$response = $client->getPageDonations(['id' => 327]);
if ($response['response']['code'] !== '200') {
die($response['response']['message']);
}
foreach ($response['donations'] as $donation) {
echo $donation['id'].'|';
}
dev-master
9999999-dev
Official PHP Client Library for the Galantom Web API Edit
Sources
Download
MIT
The Requires
The Development Requires
by
Gabriel Solomon
library
guzzle
guzzlehttp
fundraising
guzzle-services
galantom
dev-develop
dev-develop
Official PHP Client Library for the Galantom Web API Edit
Sources
Download
MIT
The Requires
The Development Requires
by
Gabriel Solomon
library
guzzle
guzzlehttp
fundraising
guzzle-services
galantom
1.0.2
1.0.2.0
Official PHP Client Library for the Galantom Web API Edit
Sources
Download
MIT
The Requires
The Development Requires
by
Gabriel Solomon
library
guzzle
guzzlehttp
fundraising
guzzle-services
galantom
1.0.1
1.0.1.0
Official PHP Client Library for the Galantom Web API Edit
Sources
Download
MIT
The Requires
The Development Requires
by
Gabriel Solomon
library
guzzle
guzzlehttp
fundraising
guzzle-services
galantom