createfakedata - Create Fake Data
Creates realistic fake data for testing and development. Examples: address, date, lorem ipsum, commercial products, company, image, random numbers, URLs and many more).
data
array<object>
Array of objects with module and function.
Minimum: 1
Example:
[
{
"module": "address",
"function": "city"
},
{
"module": "date",
"function": "month"
},
{
"module": "finance",
"function": "accountName"
}
]
module
string
Name of the module.
Possible values are: address, animal, color, commerce, company, database, datatype, date, finance, git, hacker, helpers, image, internet, lorem, mersenne, music, name, phone, random, science, system, vehicle, word
Example:
address
function
string
Name of the function.
Example:
city
rows
number
The rows of random data to generate. Defaults to 1.
Maximum: 250
Example:
2
locale
string
Localization for data. Defaults to 'en'.
Possible values are: af_ZA, ar, az, cz, de, de_AT, de_CH, el, en, en_AU, en_AU_ocker, en_BORK, en_CA, en_GB, en_GH, en_IE, en_IND, en_NG, en_US, en_ZA, es, es_MX, fa, fi, fr, fr_BE, fr_CA, fr_CH, ge, he, hr, hu, hy, id_ID, it, ja, ko, lv, mk, nb_NO, ne, nl, nl_BE, pl, pt_BR, pt_PT, ro, ru, sk, sv, tr, uk, ur, vi, zh_CN, zh_TW, zu_ZA
Example:
en