library onsdk
PHP sdk for connecting to on api
blackbaud/onsdk
PHP sdk for connecting to on api
- Friday, March 10, 2017
- by blackbaud-josh.lyford
- Repository
- 7 Watchers
- 1 Stars
- 20 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 4 Versions
- 5 % Grown
, (*1)
Features
- Provides easy-to-use HTTP clients for all supported ON API methods and authentication
protocols.
- Currently built on Curl
- Provides authentication and simple token management
Getting Started
-
Have a Web Service API user – Before you begin, you need to
sign up for the onSDK and have a Manager account created.
-
Minimum requirements – To run the SDK, your system will need to meet the
[minimum requirements][docs-requirements], including having PHP >= 5.6
compiled with the cURL extension and cURL 7.16.2+ compiled with a TLS
backend (e.g., NSS or OpenSSL).
-
Install the SDK – Using Composer is the recommended way to install the
Blackbaud onSDK for PHP. The SDK is available via Packagist under the
blackbaud/onsdk package.
Quick Examples
Authenticate with API
<?php
// Require the Composer autoloader.
require 'vendor/autoload.php';
use Blackbaud\onSDK\onApiClient;
// Instantiate a Blackbaud Client.
$bb = new onApiClient('SchoolUrl','Username','Password');
Get User Info
<?php
// get info about the current user account using the SDK.
try {
$user = $bb->get_current_user();
print_r($user);
} catch (Exception $e) {
echo "There was an error getting user info.\n";
}
dev-master
9999999-dev
PHP sdk for connecting to on api
Sources
Download
GPL-3.0+
The Requires
The Development Requires
by
Josh Lyford
1.0.2
1.0.2.0
PHP sdk for connecting to on api
Sources
Download
GPL-3.0+
The Requires
The Development Requires
by
Josh Lyford
1.0.1
1.0.1.0
PHP sdk for connecting to on api
Sources
Download
GPL-3.0+
The Requires
The Development Requires
by
Josh Lyford
1.0.0
1.0.0.0
PHP sdk for connecting to on api
Sources
Download
GPL-3.0+
The Development Requires
by
Josh Lyford