1.2.0 • Published 3 years ago

play-store-system v1.2.0

Weekly downloads
203
License
MIT
Repository
github
Last release
3 years ago

Install

npm i play-store-system

Get App Info

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

const app = new pss();

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

Update Notify

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

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

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}`);
  });
}
1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago