Search Categories
https://api.eventfinda.co.nz/v2/categories.xml
Searches the database and returns categories matching the given criteria.
Categories are in a tree structure which you can explore on the Find Events page.
Example Request
https://api.eventfinda.co.nz/v2/categories.xml?rows=1&levels=3&fields=category:(id,name,children)
Example Response
<?xml version="1.0"?>
<error>An error occurred</error>
Parameters
The following parameters are available along with the common parameters.
category |
Only return results which are a descendent of this category id. Specify multiple IDs by separating them with a comma (,). |
category_slug |
Only return results where are a descendent of the category specified by this URL slug Specify multiple URL slugs by separating them with a comma (,). |
levels |
An integer specifying the number of child levels to include in the
A side effect of specifying |
order |
Specify the order the results should be in. Possible values are
If nothing is specified they are sorted by Eventfinda's default order. |