Get Info Query
Info
The getinfo query tells you things that Technorati knows about a user. In the simplest case you can use getinfo to find out information that a blogger wants to make known about himself, along with some information that Technorati has calculated and verified about that person. The returned info is broken up into two sections: The first part describes some information that the user wants to allow people to know about him- or herself. The second part of the document is a listing of the weblogs that the user has successfully claimed and the information that Technorati knows about these weblogs.Format
The call is made using a REST-ful interface. Send either a HTTP GET or a HTTP POST to http://api.technorati.com/getinfo?key=<apikey>&username=<user> with mandatory parameters "key" and "username" and additional optional parameters described below.
Parameters
-
key (mandatory) - Provide your Technorati API key in here, which you can obtain at
http://www.technorati.com/developers/apikey.html.
-
username (mandatory) - Set this to the Technorati user name you are searching for.
-
format - This allows you to request an output format, which by default is set to xml. At the moment only the XML and RSS formata are supported. Atom and XOXO should be supported soon.
Response
The getinfo query either returns info for a given user or an error message. Error responses are always in default XML format and look like this:
<?xml version="1.0" encoding="utf-8"?> <!-- generator="Technorati API version 1.0 /getinfo" --> <!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml"> <tapi version="1.0"> <document> <result> <error>ERROR MESSAGE</error> </result> </document> </tapi>
On success, the response is as follows:
<?xml version="1.0" encoding="utf-8"?> <!-- generator="Technorati API version 1.0 /getinfo" --> <!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml"> <tapi version="1.0"> <document> <result> <username>USERNAME</username> <firstname>FIRST NAME</firstname> <lastname>LAST NAME</lastname> <thumbnailpicture>URL TO THUMBNAIL PICTURE (IF PRESENT)</thumbnailpicture> </result> <item> <weblog> <name>CLAIMED BLOG NAME</name> <url>BLOG URL</url> <rssurl>BLOG RSS URL (IF PRESENT)</rssurl> <atomurl>BLOG ATOM URL (IF PRESENT)</atomurl> <inboundblogs>INBOUND BLOGS</inboundblogs> <inboundlinks>INBOUND LINKS</inboundlinks> <lastupdate>DATE BLOG WAS LAST UPDATED</lastupdate> <rank>COSMOS RANKING</rank> <lang>BLOG LANGUAGE AS INTEGER (IF PRESENT)</lang> <lat>GEO INFO (IF PRESENT)</lat> <lon>GEO INFO (IF PRESENT)</lon> <foafurl>FOAF URL (IF PRESENT)</foafurl> </weblog> </item> ... </document> </tapi>
The date is set to ISO 8601 standard format. Example: 2004-02-04 06:28:26 GMT.