Welcome to names.drycodes.com
Our Goal: Provide a simple, easy to use, random name generator API where you don't repeat yourself a.k.a DRY.
Basic usage:
Simple GET request that returns a JSON array of 10 random names
- 10 random names
- 10 random names, lower cased
- 10 random names, lower cased, with [ prefix and ] suffix
- 10 random objects
- Random port number
- Random port number - Privileged
Parameters
- COUNT
-
Description:
Integer The number of items in your list.
Example: 25 items
- PORT
-
Description:
string Generate a random port number.
Port numbers range from 0 to 65536, but only port numbers 0 to 1024 are reserved
for privileged use.
Example: 4567
Query
- combine
-
Description:
Integer The number of name strings that you want to join into a single name
Example: Combine 4 strings into 1 name item
- nameOptions
- Description: String The list of names that you want to use to create your list of random names.
- Examples:
- separator
-
Description:
String The character(s) that you want to use to separate name strings
Examples:
- randomCombined
-
Description:
Boolean Optional if you want to have a random number of combined words
Example: /10?randomCombined=true
- case
-
Description:
String Optional if you want to convert the strings to a formatted case
Example: /10?case=upper
- prefix
- Description: String The leading character for your name item. defaults to nothing
- Examples:
- suffix
- Description: String The ending character for your name item. defaults to nothing
- Examples: