API Documentation

Your API-Keys ›

Users

Items

Get the latest items from all users or specify a username to get all items from a specific user. Authenticate to get all private items of a user as well

URL

http://zootool.com/api/users/items

Authentication

optional (if you want to get private items from a user as well)

Arguments

  • apikey (required)
  • username (optional)
  • login (optional) must be true if you want to make an authenticated call via digest
  • tag (optional)
  • offset (optional)
  • limit (optional)

Example

http://zootool.com/api/users/items/?username=bastian&apikey=###

Result (JSON encoded)

Array
(
    [0] => Array
        (
            [uid] => uq7ul3
            [title] => CSS Border Radius
            [url] => http://www.border-radius.com/
            [added] => 1270475282
            [type] => page
            [views] => 2
            [likes] => 2
            [permalink] => http://zootool.com/watch/uq7ul3/
            [tinyurl] => http://zoo.tl/uq7ul3
            [thumbnail] => http://zootool.com/images/no/page.small.png
        )
    [1] => Array
        (
            [uid] => ux1ez2
            [title] => Removing the Background - Photoshop Channel Mask
            [url] => http://graphicssoft.about.com/od/photoshop/l/blrbps_2fwks.htm
            [added] => 1270475182
            [type] => page
            [views] => 28
            [likes] => 2
            [permalink] => http://zootool.com/watch/ux1ez2/
            [tinyurl] => http://zoo.tl/ux1ez2
            [thumbnail] => http://c0397571.cdn.cloudfiles.rackspacecloud.com/ux1ez2_s.jpg?1255655137
        )
    [2] => Array
        (
            [uid] => on7iz1
            [title] => Mimeo on the iPad
            [url] => http://youtube.com/watch?v=AyESWrJAI74
            [added] => 1270370817
            [type] => video
            [views] => 4
            [likes] => 2
            [permalink] => http://zootool.com/watch/on7iz1/
            [tinyurl] => http://zoo.tl/on7iz1
            [thumbnail] => http://c0397071.cdn.cloudfiles.rackspacecloud.com/on7iz1_s.jpg?1270368472
        )
)

Info

Get info about a certain user

URL

http://zootool.com/api/users/info

Authentication

optional (if you want to get the email address from the user, you need to sign in)

Arguments

  • apikey (required)
  • username (required)

Example

http://zootool.com/api/users/info/?username=bastian&apikey=###

Result unsigned (JSON encoded)

Array
(
    [username] => Bastian
    [website] => http://bastian-allgeier.de
    [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/bastian_l.jpg?1270991626
    [profile] => http://zootool.com/user/bastian/
)


Result signed (JSON encoded)

Array
(
    [username] => Bastian
    [website] => http://bastian-allgeier.de
    [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/bastian_l.jpg?1270991626
    [profile] => http://zootool.com/user/bastian/
    [email] => zoopport@gmail.com
)

Validate

Validate the user credentials. Useful for logins.

URL

http://zootool.com/api/users/validate

Authentication

required

Arguments

  • apikey (required)
  • username (required)

Example

http://zootool.com/api/users/validate/?username=bastian&apikey=###

Result (JSON encoded)

Array
(
    [username] => Bastian
    [website] => http://bastian-allgeier.de
    [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/bastian_l.jpg?1270991626
    [profile] => http://zootool.com/user/bastian/
    [email] => zoopport@gmail.com
)

Friends

Get a list of friends from the user

URL

http://zootool.com/api/users/friends

Arguments

  • apikey (required)
  • username (required)
  • offset (optional)
  • limit (optional)
  • search (optional)

Example

http://zootool.com/api/users/friends/?username=bastian&apikey=###

Result (JSON encoded)

Array
(
    [0] => Array
        (
            [username] => noedine
            [website] => http://noedine.de
            [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/noedine_l.jpg?1270497164
            [profile] => http://zootool.com/user/noedine/
        )

    [1] => Array
        (
            [username] => habu
            [website] => 
            [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/habu_l.jpg?1270970565
            [profile] => http://zootool.com/user/habu/
        )

    [2] => Array
        (
            [username] => Arno
            [website] => http://oelna.de/
            [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/arno_l.jpg?1267358808
            [profile] => http://zootool.com/user/arno/
        )

    ...

)

Followers

Get a list of follwers for a user

URL

http://zootool.com/api/users/followers

Arguments

  • apikey (required)
  • username (required)
  • offset (optional)
  • limit (optional)
  • search (optional)

Example

http://zootool.com/api/users/followers/?username=bastian&apikey=###

Result (JSON encoded)

Array
(
    [0] => Array
        (
            [username] => noedine
            [website] => http://noedine.de
            [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/noedine_l.jpg?1270497164
            [profile] => http://zootool.com/user/noedine/
        )

    [1] => Array
        (
            [username] => habu
            [website] => 
            [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/habu_l.jpg?1270970565
            [profile] => http://zootool.com/user/habu/
        )

    [2] => Array
        (
            [username] => Arno
            [website] => http://oelna.de/
            [avatar] => http://c0402411.cdn.cloudfiles.rackspacecloud.com/arno_l.jpg?1267358808
            [profile] => http://zootool.com/user/arno/
        )

    ...

)

Profiles

Get a list of external profiles for a user

URL

http://zootool.com/api/users/profiles

Arguments

  • apikey (required)
  • username (required)

Example

http://zootool.com/api/users/profiles/?username=bastian&apikey=###

Result (JSON encoded)

Array
(

    [0] => Array
        (
            [slug] => brightkite
            [url] => http://brightkite.com/people/bastian
            [title] => Brightkite
        )

    [1] => Array
        (
            [slug] => dribbble
            [url] => http://dribbble.com/players/bastianallgeier
            [title] => Dribbble
        )

    [2] => Array
        (
            [slug] => flavors
            [url] => http://flavors.me/bastianallgeier
            [title] => Flavors.me
        )
    ...

)

Advertisement via Carbon