1.0.1 • Published 8 years ago

playstore-api v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

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