Faker Elixir (octopus) v1.0.2 FakerElixir.Avatar

Generate fake data for the domain avatar

Summary

Functions

Return avatar url of a robot with a size of 300x300

Return avatar url of a robot with the slug given and a size of 300x300

Return avatar url of a robot with the slug and size given

Return avatar url of a robot with the slug, size and type given

Return avatar url of a robot with the slug, size, type and set given

Return avatar url of a robot with the slug, size, type, set and bgset given

Functions

robohash()

Return avatar url of a robot with a size of 300x300

Examples

iex> FakerElixir.Avatar.robohash
"https://robohash.org/fceuxke.png?size=300x300"
robohash(slug)

Return avatar url of a robot with the slug given and a size of 300x300

Examples

iex> FakerElixir.Avatar.robohash("zombies-must-die")
"https://robohash.org/zombies-must-die.png?size=300x300"
robohash(slug, size)

Return avatar url of a robot with the slug and size given

Examples

iex> FakerElixir.Avatar.robohash("zombies-forever", "400x400")
"https://robohash.org/zombies-forever.png?size=400x400"
robohash(slug, size, type)

Return avatar url of a robot with the slug, size and type given

Examples

iex> FakerElixir.Avatar.robohash("i-love-a-zombie", "300x300", "jpg")
"https://robohash.org/i-love-a-zombie.jpg?size=300x300"
robohash(slug, size, type, set)

Return avatar url of a robot with the slug, size, type and set given

Examples

iex > FakerElixir.Avatar.robohash("boring-slug", "230x230", "bmp", "set1")
"https://robohash.org/boring-slug.bmp?size=230x230&set=set1"
robohash(slug, size, type, set, bgset)

Return avatar url of a robot with the slug, size, type, set and bgset given

Examples

iex> FakerElixir.Avatar.robohash("ahahahaha", "198x198", "jpg", "set2", "bg2")
"https://robohash.org/ahahahaha.jpg?size=198x198&set=set2&bgset=bg2"