Skip to content

RuslanKuziak/gplaymusic-sdk-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please note: this project is a fork from https://github.com/FelixGail/gplaymusic migrated to Gradle and Android Library Module.

Unofficial Google Play Music Android Library

This library poses as a client for the GooglePlay app. It can search for songs/artists/albums, modify and create playlists and stations and even download tracks. For most activities an active subscription to GooglePlay All Access is needed.

This project is neither supported nor endorsed by Google.

Installation

TBA soon

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.
  • 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:
AuthToken authToken = TokenProvider.provideToken(USERNAME,
                                      PASSWORD, ANDROID_ID);
Creating a new API instance:
GPlayMusic api = new GPlayMusic.Builder()
                  .setAuthToken(authToken)
                  .build();

And you are ready to go.
A full documentation should come sometime in the future. For now use the Javadoc to help yourself. It can be found here.

Feel free to create a bug or an issue if you have some.

Attribution

Special thanks to gplaymusic by Felix Gail who has implemented API support in Java. Also I am grateful to gmusicapi project by Simon Webers for great client library for Google Music.

Packages

No packages published

Languages

  • Java 100.0%