Skip to content

PHP SDK Configuration

Pawel Sawicz edited this page Oct 28, 2015 · 2 revisions

PHP SDK Configuration

First of all you have to include JustGivingClient.php to a file where you are going to reffer to our API.

include_once 'JustGivingClient.php';

If you have already included JustGivingClient.php, now you can initialize new object of JustGivingClient.

$client = new JustGivingClient("https://api.sandbox.justgiving.com/", "your app-key", 1, 
	"apiunittest@justgiving.com", "password");

Code above is required to do any request against our API!

Clone this wiki locally