https://github.com/scrogson/exgravatar
An Elixir module for generating Gravatar urls.
https://github.com/scrogson/exgravatar
elixir gravatar
Last synced: 15 days ago
JSON representation
An Elixir module for generating Gravatar urls.
- Host: GitHub
- URL: https://github.com/scrogson/exgravatar
- Owner: scrogson
- License: mit
- Created: 2014-01-22T00:01:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T16:24:32.000Z (over 3 years ago)
- Last Synced: 2025-03-27T06:49:58.155Z (19 days ago)
- Topics: elixir, gravatar
- Language: Elixir
- Homepage:
- Size: 116 KB
- Stars: 24
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - An Elixir module for generating Gravatar URLs. (Third Party APIs)
- fucking-awesome-elixir - exgravatar - An Elixir module for generating Gravatar URLs. (Third Party APIs)
- awesome-elixir - exgravatar - An Elixir module for generating Gravatar URLs. (Third Party APIs)
README
# Exgravatar

[](https://hex.pm/packages/exgravatar)
[](https://hexdocs.pm/exgravatar/)
[](https://hex.pm/packages/exgravatar)
[](https://github.com/scrogson/exgravatar/blob/master/LICENSE.md)
[](https://github.com/scrogson/exgravatar/commits/master)An Elixir module for generating [Gravatar](http://gravatar.com) urls.
Make sure to check out the
[Gravatar documentation](https://en.gravatar.com/site/implement/images/) for all
available options.## Usage
```elixir
import Exgravatargravatar_url "[email protected]", secure: false
#=> "http://gravatar.com/avatar/694ea0904ceaf766c6738166ed89bafb"# with size option in pixels
gravatar_url("[email protected]", s: 256)
#=> "https://secure.gravatar.com/avatar/694ea0904ceaf766c6738166ed89bafb?s=256"
```## Copyright and License
Copyright (c) 2015 Sonny Scroggin
This work is free. You can redistribute it and/or modify it under the
terms of the MIT License. See the [LICENSE.md](./LICENSE.md) file for more details.