All Projects → yeriomin → Play Store Api

yeriomin / Play Store Api

Licence: gpl-3.0
Google Play Store protobuf API wrapper in java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Play Store Api

Raccoon4
APK Downloader for Google Play
Stars: ✭ 369 (+48.19%)
Mutual labels:  google, playstore
Googleplay Api
Google Play Unofficial Python API
Stars: ✭ 278 (+11.65%)
Mutual labels:  google, playstore
Android Ratingreviews
Simple star rating system bars, a view similar to the ones seen on Google Playstore. ⭐🌟✨
Stars: ✭ 110 (-55.82%)
Mutual labels:  google, playstore
Parrot
The next generation messenger.
Stars: ✭ 305 (+22.49%)
Mutual labels:  google, protobuf
Playstoredownloader
A command line tool to download Android applications directly from the Google Play Store by specifying their package name (an initial one-time configuration is required)
Stars: ✭ 664 (+166.67%)
Mutual labels:  google, playstore
Enif protobuf
A Google Protobuf implementation with enif (Erlang nif).
Stars: ✭ 33 (-86.75%)
Mutual labels:  google, protobuf
Luapbintf
Binding Protobuf 3 to Lua 5.3
Stars: ✭ 122 (-51%)
Mutual labels:  google, protobuf
Python Scrapyd Api
A Python wrapper for working with Scrapyd's API.
Stars: ✭ 235 (-5.62%)
Mutual labels:  api-wrapper
Hackathon Starter Kit
A Node-Typescript/Express Boilerplate with Authentication(Local, Github, Facebook, Twitter, Google, Dropbox, LinkedIn, Discord, Slack), Authorization, and CRUD functionality + PWA Support!
Stars: ✭ 242 (-2.81%)
Mutual labels:  google
Gmusicapi
An unofficial client library for Google Music.
Stars: ✭ 2,543 (+921.29%)
Mutual labels:  google
Php Ovh
Lightweight PHP wrapper for OVH APIs. That's the easiest way to use OVH.com APIs in your PHP applications.
Stars: ✭ 230 (-7.63%)
Mutual labels:  api-wrapper
Moneywallet
An android application that let you track your expenses
Stars: ✭ 236 (-5.22%)
Mutual labels:  playstore
Unitysocketprotobuf3demo
主要实现了用Unity对接了Leaf服务器。其次带了些小工具。
Stars: ✭ 244 (-2.01%)
Mutual labels:  protobuf
Gogol
A comprehensive Google Services SDK for Haskell.
Stars: ✭ 235 (-5.62%)
Mutual labels:  google
Betfair
betfairlightweight - python wrapper for Betfair API-NG (with streaming)
Stars: ✭ 246 (-1.2%)
Mutual labels:  api-wrapper
Google Cloud Cpp
C++ Client Libraries for Google Cloud Services
Stars: ✭ 233 (-6.43%)
Mutual labels:  google
Alfred Web Search Suggest
Alfred search suggest workflow for various popular websites.
Stars: ✭ 249 (+0%)
Mutual labels:  google
Swiftybot
How to create a Telegram, Facebook Messenger, and Google Assistant bot with Swift using Vapor on Ubuntu / macOS.
Stars: ✭ 247 (-0.8%)
Mutual labels:  google
Google Alfred3 Workflow
🎉 The missing Alfred 3 Workflow for searching google.
Stars: ✭ 241 (-3.21%)
Mutual labels:  google
Gordon cnn
A small convolution neural network deep learning framework implemented in c++.
Stars: ✭ 241 (-3.21%)
Mutual labels:  protobuf

play-store-api Build Status Release downloads

Google Play Store protobuf API wrapper in java

Include

Get it from jitpack. Or...

Build separately

git clone https://github.com/yeriomin/play-store-api
gradlew :assemble
gradlew :build

Protobuf classes generation happens on assemble step, tests a ran on build step.

Usage

First login

        // A device definition is required to log in
        // See resources for a list of available devices
        Properties properties = new Properties();
        try {
            properties.load(getClass().getClassLoader().getSystemResourceAsStream("device-honami.properties"));
        } catch (IOException e) {
            System.out.println("device-honami.properties not found");
            return null;
        }
        PropertiesDeviceInfoProvider deviceInfoProvider = new PropertiesDeviceInfoProvider();
        deviceInfoProvider.setProperties(properties);
        deviceInfoProvider.setLocaleString(Locale.ENGLISH.toString());
        
        // Provide valid google account info
        PlayStoreApiBuilder builder = new PlayStoreApiBuilder()
            // Extend HttpClientAdapter using a http library of your choice
            .setHttpClient(new HttpClientAdapterImplementation())
            .setDeviceInfoProvider(deviceInfoProvider)
            .setEmail(email)
            .setPassword(password)
        ;
        GooglePlayAPI api = builder.build();
        
        // We are logged in now
        // Save and reuse the generated auth token and gsf id,
        // unless you want to get banned for frequent relogins
        api.getToken();
        api.getGsfId();
        
        // API wrapper instance is ready
        DetailsResponse response = api.details("com.cpuid.cpu_z");

Further logins

        // A device definition is required for routine requests too
        // See resources for a list of available devices
        Properties properties = new Properties();
        try {
            properties.load(getClass().getClassLoader().getSystemResourceAsStream("device-honami.properties"));
        } catch (IOException e) {
            System.out.println("device-honami.properties not found");
            return null;
        }
        PropertiesDeviceInfoProvider deviceInfoProvider = new PropertiesDeviceInfoProvider();
        deviceInfoProvider.setProperties(properties);
        deviceInfoProvider.setLocaleString(Locale.ENGLISH.toString());
        
        // Provide auth token and gsf id you previously saved
        PlayStoreApiBuilder builder = new PlayStoreApiBuilder()
            // Extend HttpClientAdapter using a http library of your choice
            .setHttpClient(new HttpClientAdapterImplementation())
            .setDeviceInfoProvider(deviceInfoProvider)
            .setToken(token)
            .setGsfId(gsfId)
        ;
        GooglePlayAPI api = builder.build();
        
        // API wrapper instance is ready
        DetailsResponse response = api.details("com.cpuid.cpu_z");

Examples

See tests and the project which this library was made for for examples.

Further studies

Looking through GooglePlay.proto will let you know what responses to expect.

License

play-store-api is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Credits

play-store-api is a fork of https://github.com/Akdeniz/google-play-crawler play-store-api has protobuf-java built-in. protobuf-java was modified to work with java 1.5 which is required for play-store-api to work on old android versions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].