-
Notifications
You must be signed in to change notification settings - Fork 3
PHP Client Examples
zuk edited this page Jan 14, 2011
·
7 revisions
This guide uses the Pest library to talk to Rollcall. Pest is a PHP client for RESTful resources.
Pest is available from Github at http://github.com/educoder/pest.
To install it on your machine:
git clone git://github.com/educoder/pest.git
Then make sure it's in your PHP include_path
.
We'll be using PestXML rather than just plain Pest, since Rollcall can return XML-encoded data.
<?php
require 'PestXML.php';
$rollcall_site_url = "http://localhost:3000";
$rest = new PestXML($rollcall_site_url);
?>
See: