DuckSoup - Technorati API library In PHP

Subscribe to the Technacular RSS feed  RSS Feed or by Email and receive free daily updates

Kailash Nadh has published an API library in PHP for Technorati named DuckSoup.

The library supports all the Technorati APIs namely:

  • CosmosQuery
  • SearchQueryGetInfoQuery
  • OutboundQuery
  • BlogInfoQuery
  • TagQuery
  • TopTags
  • AttentionQuery
  • KeyInfo

It produces data in organized trees e.g.:

TopTagsQuery

Parameters passed

limit => 5

Resultant array

Array
(
    [result] => Array
        (
            [limit] => 5
        )

    [item] => Array
        (
            [0] => Array
                (
                    [tag] => Music
                    [posts] => 198098
                )

            [1] => Array
                (
                    [tag] => ???
                    [posts] => 186513
                )

            [2] => Array
                (
                    [tag] => News
                    [posts] => 157867
                )

            [3] => Array
                (
                    [tag] => ??
                    [posts] => 138482
                )

            [4] => Array
                (
                    [tag] => Entertainment
                    [posts] => 126152
                )

        )

)

What I like about the library is that it is very nicely documented and very easy to use. It has some interesting sample code for you to try out as well:

  • Who vs Who
    A simple code snippet utilizing Technorati API to find Who vs Who wins. The one with the most posts’s references is chosen the winner
  • Tagwars
    Compare two tags and see which tag’s more popular. The winner is decided based on the number of posts+blogs referencing it

You need to signup for the Technorati developer program and get an API Key to use the library.

If you are looking for Technorati API library implementation in other programming language, try this page.

Popularity: 2% [?]

Subscribe to the Technacular RSS feed  RSS Feed or by Email and receive free daily updates

Related Posts

  • Most popular myths in science
  • I came across this page while browsing l...
  • Differences between various Vista distributions
  • I was very confused by the various Vista...
  • Libraries Offer Love: Dating With A Literary Twist
  • Libraries have been the storehouse of kn...
  • How to choose between ASP .NET Web Services and .NET Remoting?
  • .NET framework supports two distributed ...

    Write a comment:

    Technology Blogs - Blog Top Sites Blog Flux Directory Blogarama - The Blog Directory BuzzBums Technology blogs Technology blogs blog search directory
    Dreamsubmitting Directory Free Link Directory