Giter VIP home page Giter VIP logo

node-google-play-cli's Introduction

NPM

Build Status npm version

SYNOPSIS

Command line tools using the node-google-play library.

OPTIONS

The following environment variables are used:

  • GOOGLE_LOGIN - email address used on a mobile phone.
  • GOOGLE_PASSWORD - The password used to access the Play service.
  • ANDROID_ID - the ID for the device for Google. This is the GSF ID not the id from dialing *#*#8255#*#*. You can get the gsf id e.g., using the device id app

USAGE

I use the jq tool to stream the JSON results.

Download

Download the app to your current directory.

  • $ gp-download air.WatchESPN > air.WatchESPN.apk

Bulk Details

  • $ gp-bulk-details air.WatchESPN com.viber.voip | jq '.'

Delivery info

This info is sent from the server to the device before downloading the app.

  • $ gp-delivery air.WatchESPN | jq '.'

Integrity

Get the SHA1 checksum for the file from Google.

$ gp-get-sha1 air.WatchESPN
5381ff6fbcb36032aea1c3b83d921b94602c2f3a

node-google-play-cli's People

Contributors

dweinstein avatar sheharyarn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-google-play-cli's Issues

DF-RPC-01

Hi,
i am getting DF-RPC-01 error when i want to download an app

Error

gp-bulk-details air.WatchESPN com.viber.voip | jq '.' LoginError: Error=NeedsBrowser Url=https://accounts.google.com/signin/continue?sarp=1&scc=1&continue=https://accounts.google.com/o/android/auth?hl%3Dus_us%26xoauth_display_name%3DAndroid%2BLogin%2BService%26source%3DAndroid%2BLogin&plt=AKgnsbs40oYwAw1NKE0nNrslGrO4JScovtb_omZ8JaD9xn_O7Hxj31xuqTLTZwcCy7eNlNyaAy-Fx6WLGXs6-iwSt_tkLPp6XERsjr2y6d9n-cSlwMeyDRJ6mXy6hqa1KLPAo5ddQQ9HB83VSRu971COQ8ZHH5ZIjyDxHFzK0USrorP4nRGg6-glAs_McFyIptrJyOdZmS07JyKivH1rLikSZC81UL9nYJxwc6uR2N32kw0jMc2VtEI ErrorDetail=To access your account, you must sign in on the web. Touch Next to start browser sign-in.
I'm noob on using node.

AssertionError: not application/protobuf response

Hi, I've been using this api for a while and all was working great having all my apks updated and suddenly today it stopped working. When I try to use the command gp-download, gp-download-meta or some others it fails saying "AssertionError [ERR_ASSERTION]: not application/protobuf response". However, I can still use gp-bulk-details, gp-search or gp-get-token.
By removing the .toString() of the err.toString() from the download-meta file, I can get a little more explanatory error message:

_$ gp-download-meta com.twitter.android { AssertionError [ERR_ASSERTION]: not application/protobuf response at /usr/local/lib/node_modules/google-play-cli/node_modules/gpapi/lib/api.js:245:9 at tryCatcher (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:509:35) at Promise._settlePromise (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:693:18) at Promise._fulfill (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:638:18) at PromiseArray._resolve (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise_array.js:126:19) at PromiseArray._promiseFulfilled (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise_array.js:144:14) at PromiseArray._iterate (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise_array.js:114:31) at PromiseArray.init [as _init] (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise_array.js:78:10) at Promise._settlePromise (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:566:21) at Promise._settlePromise0 (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:693:18) at Promise._fulfill (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/promise.js:638:18) at Request._callback (/usr/local/lib/node_modules/google-play-cli/node_modules/bluebird/js/release/nodeback.js:45:21) generatedMessage: false, name: 'AssertionError [ERR_ASSERTION]', code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }_

This is reproducible by any apk i've tried. Hope you can help me or at least tell me what have happened. Is it possible that Google has changed its API or something like that??

Thank you very much for your work.

Downloads old versions of apps

When I download APK or output APK details, I get old version of the app. Perhaps it is showing the version I last downloaded on my phone. Is there any way to clear the cache or update the app, if that is the case.

Expected list of pairs from server

I get two specific errors, after try to download apk:

  • AssertionError: expected list of pairs from server
  • LoginError: Error=BadAuthentication

I tried to use Device ID and GSF, it wasn't help.

LoginError: Error=BadAuthentication

I was using it months ago and it was ok. Now (with the same credentials, which haven't been changed in the meantime) got an error: LoginError: Error=BadAuthentication.

I can't run it

I can't run it, what I did:
npm install google-play-cli -g
./bin/get-token

runs into

internal/modules/cjs/loader.js:589
throw err;
^

Error: Cannot find module 'gpapi'

Any ideas ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.