Vai al contenuto
GET /v1/styles

Style minor-word lists

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/titlecase-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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"
         
…