Faker v0.10.0 Faker.Internet View Source

Functions for generating internet related data

Link to this section Summary

Functions

Returns a complete random domain name

Returns a random domain suffix

Returns a random domain word

Returns a complete email based on a domain name

Returns a complete free email based on a free email service [gmail, yahoo, hotmail]

Returns a free email service

Returns a random image url from placekitten.com | placehold.it | dummyimage.com

Generates an ipv4 address

Generates an ipv6 address

Generates a mac address

Returns a safe email

Generates a slug If no words are provided it will generate 2 to 5 random words If no glue is provied it will use one of -, _ or

Returns a random url

Returns a random username

Link to this section Functions

Link to this function domain_name() View Source
domain_name() :: String.t()

Returns a complete random domain name

Link to this function domain_suffix() View Source
domain_suffix() :: String.t()

Returns a random domain suffix

Link to this function domain_word() View Source
domain_word() :: String.t()

Returns a random domain word

Returns a complete email based on a domain name

Link to this function free_email() View Source
free_email() :: String.t()

Returns a complete free email based on a free email service [gmail, yahoo, hotmail]

Link to this function free_email_service() View Source
free_email_service() :: String.t()

Returns a free email service

Returns a random image url from placekitten.com | placehold.it | dummyimage.com

Link to this function ip_v4_address() View Source
ip_v4_address() :: String.t()

Generates an ipv4 address

Link to this function ip_v6_address() View Source
ip_v6_address() :: String.t()

Generates an ipv6 address

Link to this function mac_address() View Source
mac_address() :: String.t()

Generates a mac address

Link to this function safe_email() View Source
safe_email() :: String.t()

Returns a safe email

Generates a slug If no words are provided it will generate 2 to 5 random words If no glue is provied it will use one of -, _ or .

Link to this function slug(words, glue) View Source
slug([String.t()], [String.t()]) :: String.t()

Returns a random url

Returns a random username