GET /v1/random-nameGenerate random names
Text Utils lf-text-utils
Makes up a random first and last name. Generates random first and last name combinations with optional formatting.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
count | integer | No | Number of names |
format | string | No | Format style |
Response Schema
success (boolean): Operation success
names (array): Generated names
cURL Example
curl 'https://lf-text-utils.laminarforge.dev/v1/random-name?count=5' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-text-utils.laminarforge.dev/v1/random-name'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'count': 5}
response = requests.get(url, headers=headers, params=params)
print(response.json())