Skip to content

skuhlmann/shrimp-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShrimpMe

A wrapper gem for the Shrimpy.me url shortener api.

Installation

Add this line to your application's Gemfile:

gem 'shrimp_me'

And then execute:

$ bundle

Or install it yourself as:

$ gem install shrimp_me

Usage

Here's a simple script that shrimps your url:


require 'shrimp_me'

_Create an instance of the client:_
connection = ShrimpMe::Shrimp.new

_Post your long url:_
shrimpy_url = connection.shorten("http://en.wikipedia.org/wiki/Norm_Peterson")

About

Gem api wrapper for Shrimpy.me URL shortener service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages