faker/provider/address

    Dark Mode
Search:
Group by:

Procs

proc address(f: Faker): string {...}{.raises: [Exception, ValueError],
                                 tags: [RootEffect].}
Generates random address.

Example:

let f = newFaker()
echo f.address()
proc buildingNumber(f: Faker): string {...}{.raises: [], tags: [].}
Generates random buildingNumber.

Example:

let f = newFaker()
echo f.buildingNumber()
proc city(f: Faker): string {...}{.raises: [Exception, ValueError],
                              tags: [RootEffect].}
Generates random city.

Example:

let f = newFaker()
echo f.city()
proc cityPrefix(f: Faker): string {...}{.raises: [], tags: [].}
Generates random cityPrefix.

Example:

let f = newFaker()
echo f.cityPrefix()
proc citySuffix(f: Faker): string {...}{.raises: [], tags: [].}
Generates random citySuffix.

Example:

let f = newFaker()
echo f.citySuffix()
proc country(f: Faker): string {...}{.raises: [], tags: [].}
Generates random country.

Example:

let f = newFaker()
echo f.country()
proc militaryApo(f: Faker): string {...}{.raises: [ValueError], tags: [].}
Generates random militaryApo.

Example:

let f = newFaker()
echo f.militaryApo()
proc militaryDpo(f: Faker): string {...}{.raises: [ValueError], tags: [].}
Generates random militaryDpo.

Example:

let f = newFaker()
echo f.militaryDpo()
proc militaryShip(f: Faker): string {...}{.raises: [], tags: [].}
Generates random militaryShip.

Example:

let f = newFaker()
echo f.militaryShip()
proc militaryState(f: Faker): string {...}{.raises: [], tags: [].}
Generates random militaryState.

Example:

let f = newFaker()
echo f.militaryState()
proc postalcode(f: Faker): string {...}{.raises: [ValueError], tags: [].}
Generates random postalcode.

Example:

let f = newFaker()
echo f.postalcode()
proc postalcodePlus4(f: Faker): string {...}{.raises: [], tags: [].}
Generates random postalcodePlus4.

Example:

let f = newFaker()
echo f.postalcodePlus4()
proc postcode(f: Faker): string {...}{.raises: [ValueError], tags: [].}
Generates random postcode.

Example:

let f = newFaker()
echo f.postcode()
proc secondaryAddress(f: Faker): string {...}{.raises: [ValueError], tags: [].}
Generates random secondaryAddress.

Example:

let f = newFaker()
echo f.secondaryAddress()
proc state(f: Faker): string {...}{.raises: [], tags: [].}
Generates random state.

Example:

let f = newFaker()
echo f.state()
proc streetAddress(f: Faker): string {...}{.raises: [Exception, ValueError],
                                       tags: [RootEffect].}
Generates random streetAddress.

Example:

let f = newFaker()
echo f.streetAddress()
proc streetName(f: Faker): string {...}{.raises: [Exception, ValueError],
                                    tags: [RootEffect].}
Generates random streetName.

Example:

let f = newFaker()
echo f.streetName()
proc streetSuffix(f: Faker): string {...}{.raises: [], tags: [].}
Generates random streetSuffix.

Example:

let f = newFaker()
echo f.streetSuffix()
proc zipcode(f: Faker): string {...}{.raises: [ValueError], tags: [].}
Generates random zipcode.

Example:

let f = newFaker()
echo f.zipcode()
proc zipcodePlus4(f: Faker): string {...}{.raises: [], tags: [].}
Generates random zipcodePlus4.

Example:

let f = newFaker()
echo f.zipcodePlus4()