Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
lang
AlphaNumeric.class.php
AlphaNumeric.js
README.md
schema.json

README.md

AlphaNumeric Data Type

This Data Type generates random alphanumeric strings according to whatever format you want. Note: for the placeholder strings, documentation for this Data Type in the generatedata UI. That provides the list of available placeholders.

Example API Usage

This example generates random passwords and US Zipcodes. POST the following JSON content to http://[your site]/[generate data folder]/api/v1/data:

{
    "numRows": 10,
    "rows": [
        {
            "type": "AlphaNumeric",
            "title": "Random Password",
            "settings": {
                "placeholder": "LLLxxLLLxLL"
            }
        },
        {
            "type": "AlphaNumeric",
            "title": "US Zipcode",
            "settings": {
                "placeholder": "xxxxx"
            }
        }
    ],
    "export": {
        "type": "JSON",
        "settings": {
            "stripWhitespace": false,
            "dataStructureFormat": "simple"
        }
    }
}

API help

For more information about the API, check out: http://benkeen.github.io/generatedata/api.html