-
Notifications
You must be signed in to change notification settings - Fork 1
Home
farrelley edited this page Sep 14, 2010
·
12 revisions
You should first become familier with the Joind.In service. You can read more about it at http://joind.in/api
With no username or password
$joindIn = new FarleyHills_Service_JoindIn();
With username and password
$joindIn = new FarleyHills_Service_JoindIn($username, $password);
$joindIn = new FarleyHills_Service_JoindIn();
$joindIn->setUsername('username')->setPassword('password');
There are 5 endpoints in the joind.in api
- Comment
- Event
- Site
- Talk
- User
You can then call and endpoint like
$joindIn->event
or $joindIn->user
Each endpoint as it’s own methods. Please check the code to check out these endpoints.
You can call them like
$eventDetails = $joindIn->event->getDetail($eventId);
The Service can return 3 different types of response formats.
- Array
- JSON – Default
- XML
You can set the response format like
$joindIn->setResponseFormat('xml');