API Method /categories/list

Lists all event categories.

Arguments

authentication
This method does require user authentication.
subcategories string
Optional - set to 1 to get subcategory information back.
aliases string
Optional - set to 1 to get category aliases back in the results.

Example Request

Here's an example request URL:

http://api.eventful.com/rest/categories/list?...

Output Parameters

Output from this function is an XML block ("categories") with an array of categories. Each category entry has the following structure:
id string
The unique ID for this category.
name string
The display name of this category.

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>
<categories>
  <category>
    <id>animals</id>
    <name>Animals, Pets</name>
  </category>
  <category>
    <id>art</id>
    <name>Art, Antiques, Crafts</name>
  </category>
  <category>
    <id>books</id>
    <name>Books, Poetry, Literature</name>
  </category>
  <category>
    <id>business</id>
    <name>Business, Finance, Investing</name>
  </category>
  ...
</categories>