Documentos de la API Unificada v2.0
API v1.0
Obtener estadísticas
Con esta llamada puedes sacar algunas estadísticas de tu cuenta:
URL |
https://gender-api.com/v2/statistic
|
Headers |
Content-Type: application/json
Authorization: Bearer <us fichas de autorización>
|
{
"is_limit_reached": false,
"remaining_credits": 24999,
"details": {
"credits_used": 0,
"duration": "83ms"
},
"usage_last_month": {
"date": "2018-03",
"credits_used": 25
}
}
Campo | Escriba | Descripción |
---|---|---|
is_limit_reached | bool | Vuelve a ser cierto si no quedan más solicitudes |
remaining_credits | int | Number of requests left |
details.credits_used | int | The amount of requests used for this query |
details.duration | string | El tiempo que el servidor necesitaba para procesar la solicitud |
usage_last_month.date | string | La fecha del último mes |
usage_last_month.credits_used | int | Requests that you have used over the last month |