Add
Add a new item to the Zoo
This is the global method to add a new item to a user's Zoo. You can feed it with some additional parameters to set the information about the item, like tags, description and stuff. If the item already exists in the user's Zoo, it won't be added again. The option to overwrite existing items with new values will follow later.
URL
http://zootool.com/api/add
Authentication
required
Arguments
- apikey (required)
- url (required)
- title (required)
- tags (optional) comma separated string of tags
- description (optional)
- referer (optional) must be a valid url
- public (optional) can be 'y' or 'n'
Example
http://zootool.com/api/add/?url=http://www.google.com&title=Google&apikey=###
Result (JSON encoded)
Array
(
[status] => success
[msg] => The item has been added to your Zoo
[item] => Array
(
[uid] => ik7id9
[title] => Google
[url] => http://www.google.com
[added] => 1264514385
[type] => page
[views] => 6
[likes] => 2
[permalink] => http://zootool.com/watch/ik7id9/
[tinyurl] => http://zoo.tl/ik7id9
[thumbnail] => http://c0397571.cdn.cloudfiles.rackspacecloud.com/ik7id9_s.jpg?1270991201
)
)