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
Return avatar url of a robot with a size of 300x300
Examples
iex> FakerElixir.Avatar.robohash
"https://robohash.org/fceuxke.png?size=300x300"
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"
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"
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"
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"