playstore-apideprecated

Full api Play Store

Usage no npm install needed!

<script type="module">
  import playstoreApi from 'https://cdn.skypack.dev/playstore-api';
</script>

README

toHttp

Playstore-api

Full api Play Store

Installation

npm

npm install playstore-api --save

Node

import playstore from 'playstore-api'; //ES6
//Or
var playstore = require('playstore-api'); //Node normal

Quick Example

/*
  Param 1: title
  Param 2: price -> 'free', 'pay' or 'all'.
  Param 3. language -> 'es', 'en' or 'fr'
 */
playstore.search('tiro', 'free', 'es', function(err, result) {
  console.log(JSON.stringify(result));
});

/*
  Param 1: title
 */
playstore.searchByTitle('tiro', function(err, result) {
    console.log(JSON.stringify(result));
});

/*
  Param 1: title
  Param 2. language -> 'es', 'en' or 'fr'
 */
playstore.searchByLanguage('tiro', 'es', function(err, result) {
    console.log(JSON.stringify(result));
});

/*
  Param 1: title
  Param 2: price -> 'free', 'pay' or 'all'.
 */
playstore.searchByPrice('tiro', 'free', function(err, result) {
    console.log(JSON.stringify(result));
});

Browser

Use RequireJS o WebPack.

Credits

Full credit to anlijudavid