Read up on the current cliqck API.
APII'm sure you already know this by now, but API stands for Application Programming Interface. It's a nifty way to automatically perform certain tasks. This enables you to interact with cliqck from the comfort of your own website (or widget, or whatever you can think of).There are 3 main API calls at this time. All calls require an API Key. Click here to generate your API KeyList ItemsThis call will return a list of items that either an individual user has entered, or a list of the most recent items added (like on the index page).URL: http://www.cliqck.com/xml/items/[username]/[options]/[start]/[limit]Variables:
Examples:http://www.cliqck.com/xml/items?apikey=abc123This will return a list of 50 of the most recent items added to the site. http://www.cliqck.com/xml/items/billy/25/5?apikey=abc123 This will return 5 of billy's items from the 25th most recently added. http://www.cliqck.com/xml/items/billy/envylist/0/5?apikey=abc123 This will return the last 5 items from people on billy's envy list. http://www.cliqck.com/xml/items/i/search/xbox?apikey=abc123 This will search everyone for "xbox" http://www.cliqck.com/xml/items/billy/search/apples?apikey=abc123 This will search billy's items for the word "apples" Example XML return:<cliqck><found>14</found> <item> <pid>23</pid> <uname>billy</uname> <name>Billy Chasen</name> <photo>http://static.cliqck.com/path/to/photo.jpg</photo> <text>a new sock because my old one ripped</text> <link></link> </item> </cliqck>
Add ItemThis call will add a new item to the user's list of items. It requires that you POST data to it.URL: http://www.cliqck.com/xml/additemVariables:
Examples:http://www.cliqck.com/xml/additem?apikey=abc123Remember to make your apikey a GET variable like above. Example XML return:<cliqck><return>success</return> </cliqck>
Delete ItemThis call will remove an item from the user's list of items. It requires that you POST data to it.URL: http://www.cliqck.com/xml/deleteitemVariables:
Examples:http://www.cliqck.com/xml/deleteitem?apikey=abc123Remember to make your apikey a GET variable like above. Example XML return:<cliqck><return>success</return> </cliqck>
|
||
|
|