Faker v0.10.0 Faker.Address View Source

Functions for generating addresses.

Link to this section Summary

Functions

Return random building number

Return city name

Return city prefix

Return city suffix

Return country

Return country code

Return random latitude

Return random longitude

Return random postcode

Return random secondary address

Return state

Return state abbr

Return street address

Return street_address/0 or if argument is true adds secondary_address/0

Return street name

Return street suffix

Return time zone

Return random postcode

Return random postcode

Link to this section Functions

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

Return random building number.

Return city name.

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

Return city prefix.

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

Return city suffix.

Return country.

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

Return country code.

Return random latitude.

Link to this function longitude() View Source
longitude() :: float()

Return random longitude.

Return random postcode.

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

Return random secondary address.

Return state.

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

Return state abbr.

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

Return street address.

Link to this function street_address(arg1) View Source
street_address(true | any()) :: String.t()

Return street_address/0 or if argument is true adds secondary_address/0.

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

Return street name.

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

Return street suffix.

Return time zone.

Return random postcode.

Return random postcode.