events/category/{category_id}
Retrieves all the events assigned to a specified category.
Arguments:
- api_key (required)
- per_page (optional - default 25)
- page (optional - default 1)
- category_id (required)
Example request:
http://[domain]/api/events/category/21.xml?
api_key=[api_key]&per_page=10&page=1
Example response:
<?xml version="1.0" encoding="utf-8"?>
<events category_id="21" page="1" pages="1" per_page="10" total="1">
<event id="9" pick_of_week="0">
<title>My event</title>
<start_time/>
<end_time/>
<start_date>1230163200</start_date>
<end_date>1230163200</end_date>
<next_date>1230163200</next_date>
<interval>1</interval>
<location>Leicester</location>
<cost>£10.00</cost>
<content><![CDATA[Description]]></content>
<categories>
<category id="21" name="Category one" />
</categories>
</event>
</events>