getCategories

Previous page  First page  Next page

Description

Returns an array of a specified blog's categories.

 

 

Syntax

bw.getCategories(blog_id, username, password)

 

 

Request Fields

 

blog_id - The ID of the blog.

 

username - Your reseller account username.

 

password - Your reseller account password.

 

 

 

Response Fields
Each category element is a hash containing the following keys:

 

type - The type of post allowed in that category; can be "article" or "photo".

 

parent_cat_id - The ID of the parent category.

 

full_label - The name of the parent category.

 

cat_id - The ID of the category.

 

label - The name of the category.