ebay-api
Version:
eBay API for Node and Browser
23 lines (22 loc) • 1.06 kB
TypeScript
import Restful from '../../index.js';
/**
* This method retrieves the call limit and utilization data for an application.
*/
export default class Analytics extends Restful {
static id: string;
get basePath(): string;
/**
* This method retrieves the call limit and utilization data for an application.
*
* @param apiContext This optional query parameter filters the result to include only the specified API context.
* @param apiName This optional query parameter filters the result to include only the APIs specified.
*/
getRateLimits(apiContext: string, apiName: string): Promise<any>;
/**
* This method retrieves the call limit and utilization data for an application user.
*
* @param apiContext This optional query parameter filters the result to include only the specified API context.
* @param apiName This optional query parameter filters the result to include only the APIs specified.
*/
getUserRateLimits(apiContext: string, apiName: string): Promise<any>;
}