Skip to main content

events/from/{date_from}/to/{date_to}

Retrieves all live events that occur between a given date range.

Arguments:

  • api_key (required)
  • per_page (optional - default 25)
  • page (optional - default 1)
  • date_from (required)
  • date_to (required)

Example request:

http://[domain]/api/events/from/2008-12-01/to/2008-12-25.xml?api_key=[api_key]
&per_page=10&page=1

Example response:

<?xml version="1.0" encoding="utf-8"?>
<events date_from="2008-12-01" date_to="2008-12-25" 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></start_time>
<end_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>