/v1/meta
Totals & categories
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/gitignore-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gitignore-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gitignore-api/v1/meta");
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/gitignore-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Ready-to-use .gitignore templates for languages, frameworks, tools and editors. /v1/template returns one template's content; /v1/list lists/searches them; /v1/combine merges several (e.g. names=Node,Python,macOS) into a single .gitignore. Categories: root (languages/frameworks), global (editors/OS), community (more specific stacks).",
"total": 309,
"source": "github/gitignore (CC0)",
"by_category": {
"root": 163,
"global": 75,
"community": 71
}
},
"meta": {
"timestamp": "2026-05-31T09:57:28.480Z",
"request_id": "e416fffc-a39b-48ba-aca1-33bc81054e99"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}