# play-store-system

> Simple play store api

Latest version **1.2.0** (published 2021-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install play-store-system
pnpm add play-store-system
yarn add play-store-system
bun add play-store-system
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2021-04-10 |
| First published | 2021-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 12.2 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | AtomScript |
| Maintainers | desendev |
| Keywords | play store, google play, play store scraper, play store apps updates, apps update, application update |

## Links

- npm: https://www.npmjs.com/package/play-store-system
- Repository: https://github.com/AtomScript/play-store-system
- Homepage: https://github.com/AtomScript/play-store-system#readme
- Issues: https://github.com/AtomScript/play-store-system/issues
- npm.io page: https://npm.io/package/play-store-system

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.5

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2021-04-10
- 1.1.9 — 2021-04-09
- 1.1.8 — 2021-04-09
- 1.1.7 — 2021-04-09
- 1.1.6 — 2021-04-09
- 1.1.5 — 2021-03-27
- 1.1.4 — 2021-03-13
- 1.1.3 — 2021-03-13
- 1.1.2 — 2021-03-07
- 1.1.1 — 2021-03-07
- 1.1.0 — 2021-03-07
- 1.0.9 — 2021-03-07
- 1.0.8 — 2021-03-07
- 1.0.7 — 2021-03-01
- 1.0.6 — 2021-03-01
- … 5 more at https://npm.io/package/play-store-system/versions

## README

<h1 align="center">Play Store System</h1>

<div align="center">
<img src="https://img.icons8.com/bubbles/452/google-play.png">
</div><br>
<span align="center">this is a library that is able to notify updates of a specific apps, and get information from an app</span>


## Install
```bash
npm i play-store-system
```

## Get App Info
```javascript
const pss = require('play-store-system');

const app = new pss();

app.getInfo("com.mojang.minecraftpe").then(info =>{
  console.log(info)
});
```


## Update Notify

```javascript
const pss = require('play-store-system');

const app = new pss();

app.on('com.mojang.minecraftpe', {startMessage: true, repeat: true, ms: 500, displayErrors: false}, info => {
  console.log(`${info.version}`);
});
```
The `startMessage` property can alert when event initialize.

The `repeat` property can start the event automatically without the update actually being released.

The `ms` property defines a miliseconds for the time to check for updates.

The `displayErrors` property defines whether you want to display annoying errors


## Search System

```javascript
const pss = require('play-store-system');

const app = new pss();

app.search({
  term: "minecraft",
  num: 5
}).then((appIds) => {
  console.log(appIds);
});
```

The `term` is the name of the application to application

The `num` is the maximum number of applications found. The limit for applications found is 50.


## Check For More Apps Update
``` javascript
const pss = require('play-store-system');

const app = new pss();

const apps = ['com.mojang.minecraftpe', 'com.supercell.clashofclans'];

for(let appId of apps){
  app.on(appId, {}, (info) =>{
    console.log(`new update of ${info.appId}, version: ${info.version}`);
  });
}
```

---
_Source: https://npm.io/package/play-store-system · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
