Skip to main content

directories/category/{category_id}

Retrieves a paginated list of all the directories assigned to a particular category.

Arguments:

  • api_key (required)
  • category_id (required)
  • per_page (optional - default 10)
  • page (optional - default 1)

Example request:

http://[domain]/api/directories/category/17.xml?api_key=[api_key]
&per_page=10&page=1

Example response:

<?xml version="1.0" encoding="utf-8"?>
<directories category_id="17" page="1" pages="1" per_page="10" total="1">
<directory id="1" entries="3" public_submission="1">
<name>My directory</name>
<content><![CDATA[Content With XHTML embedded.]]></content>
<categories>
<category id="17" name="Category one"/>
</categories>
</directory>
</directories>