/v1/meta
Totals, types & source
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/proglangs-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/proglangs-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/proglangs-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/proglangs-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"total": 807,
"types": [
{
"type": "data",
"count": 179
},
{
"type": "markup",
"count": 69
},
{
"type": "programming",
"count": 541
},
{
"type": "prose",
"count": 18
}
],
"fields": [
"id",
"name",
"type",
"color",
"extensions",
"aliases",
"filenames",
"group"
],
"source": "GitHub Linguist",
"unique_extensions": 1451
},
"meta": {
"timestamp": "2026-05-31T02:11:15.780Z",
"request_id": "95db9f77-e98a-4638-a7f4-38a657714b92"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}