/v1/styles
Style minor-word lists
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/titlecase-api/v1/styles" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/titlecase-api/v1/styles", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/titlecase-api/v1/styles");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/titlecase-api/v1/styles",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"styles": [
{
"name": "ap",
"note": "Associated Press — lowercases articles, conjunctions and short prepositions.",
"minor_words": [
"a",
"an",
"and",
"as",
"at",
"but",
"by",
"for",
"if",
"in",
"into",
"is",
"nor",
"of",
"off",
"on",
"or",
"out",
"per",
"so",
"the",
"to",
"up",
"v",
"via",
"vs",
"yet"
]
},
{
"name": "chicago",
"note": "Chicago Manual of Style — also lowercases longer prepositions.",
"minor_words": [
"a",
"about",
"above",
"across",
"after",
"against",
"along",
"amid",
"among",
"an",
"and",
"around",
"as",
"at",
"before",
"behind",
"below",
"beneath",
"beside",
"between",
"beyond",
"but",
"by",
"despite",
"down",
"during",
"except",
"for",
"from",
"if",
"in",
"inside",
"into",
"is",
"like",
"near",
"nor",
"of",
"off",
"on",
"onto",
"or",
"out",
"over",
"per",
"since",
"so",
"than",
"the",
"through",
"throughout",
"till",
"to",
"toward",
"under",
"until",
"unto",
"up",
"upon",
"v",
"via",
"vs",
"with",
"within",
"without",
"yet"
…