gravatarcr

Version, currently 0.1.01 version
  • 0.1.0latestFeb 5, 2018

github.com/ChangJoo-Park/gravatarcr

Gravatar URL library for crystal language 🔮

7 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  gravatarcr:
    github: ChangJoo-Park/gravatarcr
    version: ~> 0.1.0

Then run:

shards install

shard.yml

Crystal
0.24.1
License
MIT
Author
ChangJoo Park <pcjpcj2@gmail.com>

Dependencies

This version declares no dependencies.

README

# Gravatar crystal

Get gravatar url using crystal! 🔮

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
  gravatarcr:
    github: changjoo-park/gravatarcr
```

## Usage

```crystal
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

:construction: 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

- [changjoo-park](https://github.com/changjoo-park) ChangJoo Park - creator, maintainer