Sha256: 09acf94bc9ceaceea0ac3dfbf789bac6c36d288236b4b137c0ba4d043ce4c60b

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

PictureFrom
============

[![Build Status](https://travis-ci.org/karreiro/picture_from.svg?branch=master)](https://travis-ci.org/karreiro/picture_from)
[![Code Climate](https://codeclimate.com/github/karreiro/picture_from/badges/gpa.svg)](https://codeclimate.com/github/karreiro/picture_from)
[![Test Coverage](https://codeclimate.com/github/karreiro/picture_from/badges/coverage.svg)](https://codeclimate.com/github/karreiro/picture_from)

PictureFrom is the most efficient library for getting profile pictures.

Installation
------------
```
gem install picture_from
```

Usage
------------

Using PictureFrom is pretty simple! First, make sure the library is required:
``` ruby
require 'picture_from'
```

Pass an user information to the library's interface:
``` ruby
PictureFrom.url('karreiro')
# => http://graph.facebook.com/karreiro/picture
```

Engines
------------
PicutreFrom has many engines for finding the appropriete image for any user in your application:

  - Gravatar
    - by e-mail ✔
    - by GitHub username
  - Facebook
    - by username ✔
    - by e-mail ✔
    - by user information ✔
  - Twitter
    - by username
    - by user information
  - Linkedin
    - by username
  - Ello
    - by username

Contributing
------------

  1. Fork it
  2. Create your feature branch (`git checkout -b my-new-feature`)
  3. Commit your changes (`git commit -am 'Add some feature'`)
  4. Push to the branch (`git push origin my-new-feature`)
  5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picture_from-0.0.1 README.md