kazagumo-spotify
Version:
A spotify module for kazagumo
19 lines (18 loc) • 463 B
TypeScript
export declare class SpotifyRequest {
private client;
private token;
private authorization;
private nextRenew;
stats: {
requests: number;
rateLimited: boolean;
};
constructor(client: {
clientId: string;
clientSecret: string;
});
makeRequest<T>(endpoint: string, disableBaseUri?: boolean): Promise<T>;
private handleRateLimited;
private renewToken;
private renew;
}