The API usage resource provides information about API limits and used calls.
Resource | Description |
---|---|
GET /v1/Usage | Usage information |
Get usage information
Response
Name | Type |
---|---|
dailyQuota | API limit of requests |
usedCalls | How many calls were made |
Example Response
{ "usedCalls":178, "dailyQuota":1000 }
<?xml version="1.0"?> <UsageInfo> <UsedCalls>178</UsedCalls> <DailyQuota>1000</DailyQuota> </UsageInfo>
1. The API limits are per hoteliga domain.
2. The call to /v1/Usage counts as a "used call" as well.