This repository has been archived by the owner. It is now read-only.
Ruby gem for API
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib dumb mistake, again Jul 10, 2012
test oh, not again Jul 10, 2012
.gitignore Initial commit Jun 26, 2012
Gemfile init Jun 26, 2012
Gemfile.lock init Jun 26, 2012
LICENSE.txt init Jun 26, 2012 license Jul 28, 2012
Rakefile init Jun 26, 2012
VERSION Version bump to 0.1.5 Jul 10, 2012 Regenerate gemspec for version 0.1.5 Jul 10, 2012 Ruby client

Hosted User Avatar Service for your Apps and Site.


gem install


gem ''

in Bundler.


require ''

# Getting links to avatars in social networks

avatar_url('twitter', 'vdemedes') # returns '', twitter, instagram and facebook are available
avatar_url('instagram', 'vdemedes')
avatar_url('facebook', 'vdemedes')

# Uploading own avatars

AvatarsIO.client_id = 'your client id'
AvatarsIO.access_token = 'your access token'

AvatarsIO.upload 'path/to/image.jpg' #

# with ability to assign custom identifiers

AvatarsIO.upload 'path/to/another/image.jpg', 'very-nice-image' #


Run tests by executing rake test in Terminal.


© Chute Corporation.