Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An EventMachine based library for the Topsy Otter API.
Ruby
branch: master

This branch is 1 commit ahead of sprsquish:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
spec
.document
.gitignore
LICENSE
README.md
Rakefile
VERSION

README.md

otter-rb

An EventMachine based library for the Topsy Otter API.

Install

otter-rb is hosted on gemcutter

gem install otter-rb

Example

require 'rubygems'
require 'otter-rb'
Otter.connect('my identification string') do |otter|
  otter.authorinfo('barackobama') do |response, author|
    pp({
      :limit => response.rate_limit,
      :remaining => response.rate_remaining,
      :reset => response.rate_reset,

      :name => author.name,
      :type => author.type,
      :nick => author.nick,
      :desc => author.description,
      :url => author.topsy_author_url,
      :influence => author.influence_level
    })
  end
end

Copyright

Copyright (c) 2009 Jeff Smick. See LICENSE for details.

Something went wrong with that request. Please try again.