Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 2.1

COLUMN

Playing with the Technorati API

Analyzing the API and determining the requirements

Issue: 2.1 (August/September 2003)
Author: Didier Barbas
Article Description: No description available.
Article Length (in bytes): 13,872
Starting Page Number: 46
Article Number: 2123
Resource File(s):

Download Icon 2123.zip Updated: 2013-03-11 19:07:57

Related Web Link(s):

http://www.sifry.com/alerts/archives/000288.html
http://api.technorati.com/cosmos?VAR=VALUE
http://api.technorati.com/cosmos
http://www.technorati.com/members/apikey.html
http://api.technorati.com/cosmos?key=[put

Excerpt of article text...

RB 5 brought its slew of new features, albeit with a few bugs along the way. One of the most interesting new features(after the Operator_ keyword, of course!) is the variety of TCPSockets now available to the user. While trying to decide what to select as a new topic for this column, I was playing online with Technorati's Cosmos. It appeared that an API had been made available, and as soon as the announcement was made, a few fellows started issuing wrappers for Python, Java, and so on. I thought it would be a neat trick to do something similar for RB: provide a class or two to transparently manage Cosmos queries. Beyond the obvious benefits of learning how to use HTTPSockets, dictionaries, and a few other neat tricks, I thought that looking into the process of formalizing an API into another language would make interesting reading. Let's see.

Analyzing the API and determining the requirements

We should first look into the API and determine what is needed. The Technorati API has three calls: Cosmos, Bloginfo and Outbound Blogs. This article will deal with Cosmos, the two others being fairly similar in terms of implementation.

The Cosmos call is defined as follows (see http://www.sifry.com/alerts/archives/000288.html):

...End of Excerpt. Please purchase the magazine to read the full article.