Faker
  • Quick start
  • Guide
    • Providers
      • SSN
      • Base
      • Address
      • Company
      • Datetime
      • Internet
      • Lorem
      • Phone number
      • Miscellaneous
      • Color
      • Credit card
      • File
      • Person
      • User agent
    • Localization
    • Randomness seed
    • Generator
  • Github
  • Website
  • Sponsor this project
Powered by GitBook
On this page

Was this helpful?

Edit on Git
  1. Guide
  2. Providers

Miscellaneous

All parameters are optional. The sample parameters are the default values used by each function.

Faker.password(longitud=10, special_caracteres=true, digitos=true, upper_case=true, lower_case=true)
=> 6%)&eM4"#A


Faker.locale((Faker.language_code(),"_",Faker.country_code()))
=> ru_US


Faker.null_boolean()
=> true


Faker.country_code()
=> US


Faker.language_code()
=> de


Faker.boolean(chance_of_getting_true=50)
=> true
PreviousPhone numberNextColor

Last updated 4 years ago

Was this helpful?