GET /v1/romanConvert Roman numerals and numbers
Format Utils lf-format-utils
Changes normal numbers into Roman numerals, or Roman numerals back into normal numbers. Converts between integers (1-3999) and Roman numerals (I, V, X, L, C, D, M).
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | Yes | Number or Roman numeral |
Response Schema
success (boolean): Operation success
input (string): Original input
number (integer): Arabic number
roman (string): Roman numeral
conversion (string): Description
cURL Example
curl 'https://lf-format-utils.laminarforge.dev/v1/roman?input=2024' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-format-utils.laminarforge.dev/v1/roman'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'input': '2024'}
response = requests.get(url, headers=headers, params=params)
print(response.json())