gplayapi-ts
Version:
Google Play API wrapper in TypeScript
15 lines (11 loc) • 703 B
text/typescript
import { ResponseWrapper } from '../gen_proto/googleplay_pb.mjs';
import '@bufbuild/protobuf';
/**
* Response parsing utilities for Google Play API
*/
declare function parseResponse(response: string): Record<string, string>;
declare function unmarshalResponseWrapper(data: Buffer): Promise<ResponseWrapper>;
declare function marshalRequest(request: ResponseWrapper): Promise<Buffer>;
declare function createAuthParams(gsfId?: string, sdkVersion?: number, email?: string, googleServices?: number): URLSearchParams;
declare function setOAuthParams(params: URLSearchParams, aasToken: string): void;
export { createAuthParams, marshalRequest, parseResponse, setOAuthParams, unmarshalResponseWrapper };