Gravatar crystal
Get gravatar url using crystal! 🔮
Installation
Add this to your application's shard.yml
:
dependencies:
gravatarcr:
github: changjoo-park/gravatarcr
Usage
require "gravatarcr"
include Gravatarcr
gravatar_url("[email protected]", 128) # return my gavatar, size 128
gravatar_url("pcjpcj2@gmailcom") # return my gravatar image, size 64
gravatar_url(128) # return default gravatar image, size 128
gravatar_url() # return default gravatar image, size 64
Development
:construction: WIP
Contributing
- Fork it ( https://github.com/changjoo-park/gravatarcr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- changjoo-park ChangJoo Park - creator, maintainer