HomePage

A Ruby API for the http://bit.ly URL-shortening service

require 'rubygems' require 'bitly4r'
login, api_key = 'bitlyapidemo', 'R_0da49e0a9118ff35f52f629d2d71bf07' long_url = 'http://rubyforge.org/'
client = Bitly4R.Keyed(login, api_key)
short_url = client.shorten(long_url)

  • Project @ RubyForge
  • Source @ GitHub
  • API Documentation @ RubyForge
  • RESTful API Documentation
  • Questions?
Check our About page
Edit - History - Print - Recent Changes - Search
Page last modified on February 24, 2009, at 06:49 PM