gplayapi-ts
Version:
Google Play API wrapper in TypeScript
13 lines (11 loc) • 516 B
text/typescript
/**
* HTTP networking utilities for Google Play API
*/
interface NetworkResponse {
data: Buffer;
status: number;
}
declare function doRequest(url: string, options?: RequestInit): Promise<NetworkResponse>;
declare function createAuthHeaders(baseHeaders?: Record<string, string>): Record<string, string>;
declare function createDefaultHeaders(userAgent: string, gsfId: string, authToken?: string): Record<string, string>;
export { type NetworkResponse, createAuthHeaders, createDefaultHeaders, doRequest };