github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

chrisjpowers / fat_num

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Keep track of statistics on FatNum.com with this client Ruby gem. — Read more

  cancel

http://www.fatnum.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fixed error in gemspec. 
Chris Powers (author)
Sat Mar 14 11:50:14 -0700 2009
commit  104c5ed0e63db46534330a72e26b4aaec18065a5
tree    b1863e7f255833de9dae4aa36fdbd7283379cb4c
parent  ebb63cf10229c0acddde96fdff51b6a3188c5f0e
fat_num /
name age
history
message
file LICENSE Loading commit data...
file README.rdoc
file fat_num.gemspec
directory lib/
README.rdoc

FatNum

Chris Powers

The FatNum gem is a client for the simple API of www.fatnum.com.

Getting Setup

First off, go to www.fatnum.com and sign up for an account. Create a new statistic and note the five-character token of your stat.

Example

  require 'rubygems'
  require 'fat_num'

  f = FatNum.new('your@email.com', 'password')

  # get your statistic
  response = f.get('e37gh')
  response.digit #=> 120
  response.description #=> 'batches left'

  # update your statistic
  f.update('e37gh', 119)

  # sure enough, our update was successful
  f.get('e37gh').digit #=> 119
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server