/v1/cask
Install counts for a desktop-app cask
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/brewanalytics-api/v1/cask" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/brewanalytics-api/v1/cask", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/brewanalytics-api/v1/cask");
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/brewanalytics-api/v1/cask",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"name": "Google Chrome",
"type": "cask",
"token": "google-chrome",
"source": "Homebrew",
"version": "149.0.7827.103",
"homepage": "https://www.google.com/chrome/",
"deprecated": false,
"description": "Web browser",
"installs_30d": 46494,
"installs_90d": 128293,
"installs_365d": 395768
},
"meta": {
"timestamp": "2026-06-12T01:42:22.504Z",
"request_id": "0aebbb35-629f-4235-ae1a-584700252cb6"
},
"status": "ok",
"message": "Cask retrieved successfully",
"success": true
}