Project

peerindex

0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby wrapper for the Peerindex API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.4
~> 0.9
~> 1.6
~> 2.6
~> 0.4
~> 1.7
~> 0.7

Runtime

~> 0.7.4
~> 1.1.0
~> 1.0.0
~> 0.4.0
~> 0.1.5
 Project Readme

The Peerindex Ruby Gem

A Ruby wrapper for the Peerindex API

gem install peerindex

Howto

This version no longer requires that you explicitly pass the authenticated user's ID or screen name.

Peerindex.configure do |config|
  config.api_key = YOUR_API_KEY
end

Peerindex.user("rjzzleep")

You can improve performance by preloading a faster JSON or XML parsing library. By default, the JSON will be parsed with okjson and XML will be parsed with REXML. For faster JSON parsing, we recommend yajl-ruby and for faster XML parsing, we recommend libxml-ruby or nokogiri.

require "rubygems"
require "peerindex"

# Get a user's peerindex
puts Peerindex.user("rjzzleep").peerindex

Copyright (c) 2011 Reza Jelveh This is heavily based on John Nunemaker, Wynn Netherland, Erik Michaels-Ober, Steve Richert twitter gem so they probably own the copyright as well See LICENSE for details.