@egodigital/google-play-store
v0.3.0
Published
API client for Google Play Store API.
Downloads
14
Readme
@egodigital/google-play-store
A simplfied library for Node.js 10+ for accessing Google's Play Store APIs, written in TypeScript.
The module is quite new, so issues and pull requests are very welcome :-)
Install
Execute the following command from your project folder, where your package.json
file is stored:
npm install --save @egodigital/google-play-store
Usage
import * as fs from 'fs';
import { Client as GooglePlayStoreClient } from '@egodigital/google-play-store';
const PRIVATE_KEY = fs.readFileSync(
'/path/to/your/json/key/file'
);
const CLIENT = new GooglePlayStoreClient({
key: PRIVATE_KEY,
});
const SUMMARY = await CLIENT.getAppDownloads({
projectId: '<YOUR-PROJECT-ID>',
});
console.log(
SUMMARY
);
Documentation
The API documentation can be found here.