gpipipi
=======
a rust crate for the google play api

[![crates.io](https://img.shields.io/crates/v/gpipipi)](https://crates.io/crates/gpipipi)
[![docs](https://img.shields.io/docsrs/gpipipi/latest)](https://docs.rs/gpipipi)

usage
-----

you get an oauth token by logging in into the [embedded setup page](https://accounts.google.com/EmbeddedSetup), opening the dev tools and then checking the network tab / application tab for the returned cookie. the token can only be used once, and the resulting aas token doesn't seem to expire

after getting the oauth token, you can convert it with the crate by running it as a binary like so:
```bash
TOKEN="..." EMAIL="..." cargo run --features binary
```

alternatively you can convert it manually using [OAuthRequest](https://docs.rs/gpipipi/latest/gpipipi/struct.OAuthRequest.html)

after getting the aas token, you can now log in and start doing requests using [Client](https://docs.rs/gpipipi/latest/gpipipi/struct.Client.html)

credits
-------
- [**gplayapi**](https://gitlab.com/AuroraOSS/gplayapi)
- [**gpapi**](https://github.com/EFForg/rs-google-play/tree/master/gpapi)
