@virtuals-protocol/game-twitter-node
Version:
Strongly typed, full-featured, light, versatile yet powerful Virtual Twitter API v2 client for Node.js. Forked from twitter-api-v2.
22 lines (21 loc) • 696 B
TypeScript
export type TAppRateLimitResourceV1 = 'help' | 'statuses' | 'friends' | 'followers' | 'users' | 'search' | 'trends' | 'favorites' | 'friendships' | 'direct_messages' | 'lists' | 'geo' | 'account' | 'application' | 'account_activity';
export interface AppRateLimitV1Result {
rate_limit_context: {
access_token: string;
};
resources: {
[TResourceName in TAppRateLimitResourceV1]?: {
[resourceEndpoint: string]: AppRateLimitEndpointV1;
};
};
}
export interface AppRateLimitEndpointV1 {
limit: number;
remaining: number;
reset: number;
}
export interface HelpLanguageV1Result {
code: string;
status: string;
name: string;
}