Use the Bitly API version 4 to shorten or expand URLs. Check out the API documentation at https://dev.bitly.com/.
Small library for Google URL Shortener API
Url Shortener is a Ruby library / gem and API wrapper for bit.ly to shorten/expand the urls and retrieve other information about them.
A very simple ruby wrapper for the goo.gl URL Shortening service
Use the bit.ly API to shorten or expand URLs
Use the bit.ly API to shorten or expand URLs
Simple Google Api. Include google analytics, url shortener.
Client Ruby pour accèder à l'API Google URL Shortener.
Use the Yourls API to shorten or expand URLs
CORTO - your url shortner gem ----------------------------- - Yet another url shortner? corto is a ruby gem that shorten a URL for you and store the result in a SQLite3 database. Why the world needs another url shortener? Well, true to be told I don't know the answer and I'm pretty sure this code is far away from being revolutionary. However... corto is funniest! - Usage Using corto as standalone utility is straightforward. In case you want to shorten an url you just launch the program with the url as parameter. % bin/corto http://www.armoredcode.com % corto: http://www.armoredcode.com shrunk as ji5jnu Please note that you've to supply a valid URL, since internally it's parsed and rejected anything but HTTP and HTTPS verbs. % bin/corto funnystatementhere % corto: it seems funnystatementhere is not a valid url to shrink If you want to deflate a shrunk url, you have just to specify the '-d' flag this way. % bin/corto -d ji5jnu % corto: ji5jnu deflated is http://www.armoredcode.com Super easy, isn't it? Now, go ahead and shrink the web! - API A simple corto shortening session start with class initialization, optionally telling which SQLite3 database to use and then mastering the parameter. require 'corto' ... corto = Corto.new # we're now saying the gem we want to use it's internal database stored in db/corto.db s = corto.shrink('http://www.armoredcode.com') # s now stores the shrinked url that is already added to database if not present. # If you'll pass an invalid url to shrink(), nil will be returned instead Deflating a URL is super easy as well # The deflate process is quite straightforward as well d = corto.deflate(s) # d has now the deflated url or nil if that url was not found You can also count how many urls contained into db # If you want to know how many urls you have in your database, just call the count() method. puts 'Hey, I have stored ' + corto.count() + ' urls' And finally you can purge your db # Tired of your database and time for a massive clean has come? Let's purge the db. corto.purge # corto.count == 0 now - 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. - Copyright Copyright © 2011 Paolo Perego. See LICENSE for details.
Pixy is an API wrapper for Pixiv url shortener - p.tl
Use the bit.ly API to shorten or expand URLs
Use the bit.ly API to shorten or expand URLs
Shorten URLs with bit.ly API, make parallel requests.
Bitly4R : A Ruby API for the http://bit.ly URL-shortening service
A url shortener that queries a lot of APIs and returns the shortest url evar.
Use the clicky.me API to shorten URLs
Shorten a long URL, get click analylitcs about it, and re-expand it again using Google's URL shortening API.
Uses the v.gd API and provides an executable CLI wrapper to shorten URLs directly from your terminal and copies the short URL to your clipboard
Provides an easy access to Google URL Shortener API using Ruby code or command-line
A small URL shortening server with a nice, clean, RESTful API.
Use the su.pr API to shorten or expand URLs
Small library for dlj.bz URL Shortener API
Minly-gem provides access to all features of the Minly URL shortening service by integrating the Minly API. With the gem, you can effortlessly create and expand minlys; have access to the most popular minlys ever create and also the recent additions to the Minly database. Even features such as deleting, deactivating and editing minlys that are reserved for registered users of the Minly service can also be accessed using a valid token.
Blink Shortener is a Ruby API wrapper for bl.ink that shortens any url.
Goo.gl Url Shotener implemented by Google API. Initialize Shortener with API key to avoid reaching request limits accessed by anonymous request.
Lita handler - shorten URL via Google URL Shortener API