8000 GitHub - raulsouzalima/googl: Google URL Shortener API in Ruby
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

raulsouzalima/googl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

googl

Google URL Shortener API in Ruby

Basic Usage

Shorten a long URL

url = Googl.shorten('http://www.zigotto.com')

url.short_url
=> "http://goo.gl/ump4S"

url.long_url
=> "http://www.zigotto.com/"

Expand a short URL

url = Googl.expand('http://goo.gl/ump4S')

url.long_url
=> "http://www.zigotto.com/"

Installation

gem install googl

License

MIT License. Copyright 2011 Zigotto®. www.zigotto.com.br

About

Google URL Shortener API in Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0