<commit_before># Unofficial GPlayMusic API in JAVA

This library poses as a client for the [GooglePlay](https://play.google.com/music/) app.
It can search for songs/artists/albums, modify and create playlists and stations and even
download tracks. For most activities a valid subscription to _GooglePlay All Access_ is needed.

**This project is neither supported nor endorsed by Google.**

**This API should not be considered stable until version 1.0.0**


Installation
---------------

#### Maven:
To use this library, simply add the following lines to your pom.xml: **NOT YET SETUP**
```xml
<dependency>
    <groupId>com.github.felixgail</groupId>
    <artifactId>gplaymusic</artifactId>
    <version>0.1.0</version>
</dependency>
```

Otherwise download the latest version from the [releases page](https://github.com/FelixGail/gplaymusic/releases).

Getting Started
----------------
##### Collecting your credentials:
To use the api you will need to provide the following information:
- `USERNAME`: The email or username to your google account.
- `PASSWORD`: The password to your google account or, if you are using 2-factor-authorization,
an app password created [here](https://support.google.com/accounts/answer/185833).
- `ANDROID_ID`: The IMEI of an android device that had GooglePlayMusic installed.

Provided information will never be saved by this project.
##### Fetching an authorization token:
```java
AuthToken authToken = TokenProvider.provideToken(USERNAME,
                                      PASSWORD, ANDROID_ID);
```
<commit_msg>Removed not yet ready from README<commit_after># Unofficial GPlayMusic API in JAVA

This library poses as a client for the [GooglePlay](https://play.google.com/music/) app.
It can search for songs/artists/albums, modify and create playlists and stations and even
download tracks. For most activities a valid subscription to _GooglePlay All Access_ is needed.

**This project is neither supported nor endorsed by Google.**

**This API should not be considered stable until version 1.0.0**


Installation
---------------

#### Maven:
To use this library, simply add the following lines to your pom.xml:
```xml
<dependency>
    <groupId>com.github.felixgail</groupId>
    <artifactId>gplaymusic</artifactId>
    <version>0.1.0</version>
</dependency>
```

Otherwise download the latest version from the [releases page](https://github.com/FelixGail/gplaymusic/releases).

Getting Started
----------------
##### Collecting your credentials:
To use the api you will need to provide the following information:
- `USERNAME`: The email or username to your google account.
- `PASSWORD`: The password to your google account or, if you are using 2-factor-authorization,
an app password created [here](https://support.google.com/accounts/answer/185833).
- `ANDROID_ID`: The IMEI of an android device that had GooglePlayMusic installed.

Provided information will never be saved by this project.
##### Fetching an authorization token:
```java
AuthToken authToken = TokenProvider.provideToken(USERNAME,
                                      PASSWORD, ANDROID_ID);
```

{'fraction_non_alphanumeric': 0.11146907216494846, 'fraction_numerical': 0.008376288659793814, 'mean_word_length': 3.8897637795275593, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4679682', 'n_tokens_mistral': 901, 'n_tokens_neox': 816, 'n_words': 338}