FannyPack is a Ruby library for working with the Fantastico API.

FannyPack has been tested on MRI 1.9.3, 2.0.0, 2.1.2, and 1.9-compatible JRuby.


gem install fanny_pack


Set your Fantastico accountHASH

FannyPack.account_hash = '0mgpwn13s'

Add an IP

FannyPack::IP.add ''

Add a VPS IP

FannyPack::IP.add '', :vps

Edit an IP ( is the current IP, is the new IP)

FannyPack::IP.edit '', ''

Deactivate an IP

FannyPack::IP.deactivate ''

Reactivate an IP

FannyPack::IP.reactivate ''

Delete an IP

FannyPack::IP.delete ''

List all IPs

FannyPack::IP.list :all

List only ‘normal’ IPs

FannyPack::IP.list :normal

List only VPS IPs

FannyPack::IP.list :vps

Include details when listing IPs:

FannyPack::IP.list :all, true

Get an IP’s details

FannyPack::IP.details ''

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (If you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.


MIT License - see LICENSE in this repo.

Tags: API, Fantastico, Git, Rspec, Ruby, RubyGems