Api List Categories
From PhotoblogWiki
You will use this once are have a valid session id. You would want to use this to display all the categories the user has created. For example it will allow them to select a category to put a entry in.
[edit] Valid Request
<photoblog>
<session>SESSION ID</session>
</photoblog>
You must send that request to the following URL
http://www.photoblog.com/api/listcategories/
As long as the session ID is valid you will get something like this back.
<photoblog>
<categories>
<category>
<id>10</id>
<name>Some Category</name>
</category>
<category>
<id>851</id>
<name>Another Category</name>
</category>
</categories>
</photoblog>
The id is what you would send back to Photoblog if they selected a category to post to. You can display the name. It is possible a user can have no categories so under <categroies> </categories> will be empty.
[edit] Errors
If you get the following xml back, there is probably a post on that date or you made an invalid request
<photoblog>
<success>0</success>
</photoblog>
