gravatarcr v0.1.0

Gravatar URL library for crystal language 🔮

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("pcjpcj2@gmail.com", 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

🚧 WIP

Contributing

  1. Fork it ( https://github.com/changjoo-park/gravatarcr/fork )
  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 a new Pull Request

Contributors

Repository

gravatarcr

Owner
Statistic
  • 6
  • 0
  • 0
  • 3
  • 0
  • over 6 years ago
  • February 2, 2018
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 00:09:16 GMT

Languages