gmusicapi

Intro

gmusicapi is an unofficial Python API for Google Play Music. It allows you to control Google Music from Python scripts. It is not supported nor endorsed by Google.

If you have any questions or comments about it, you can visit #gmusicapi on irc.freenode.net or ask thebigmunch in the Whatbox IRC channel.

Installation

Connect to your server through SSH.

pip

Follow the instructions in the Python article to enable installing Python scripts and modules.

gmusicapi

Use pip to install gmusicapi package as instructed in the Python article.

gmusicapi-scripts

Use pip to install gmusicapi-scripts package as instructed in the Python article.

Cleanup

If you created a new virtualenv using the wiki article, you can clean up the files no longer needed using the following command.

rm -rf ~/virtualenv-*

Updating

gmusicapi

  1. (Optional) Activate your virtualenv if necessary
  2. Add the --upgrade option to the pip command you used to install gmusicapi

gmusicapi-scripts

  1. (Optional) Activate your virtualenv if necessary
  2. Add the --upgrade option to the pip command you used to install gmusicapi-scripts

Usage

Creating Scripts

The documentation for the API can be found here. The API itself is hosted on Github where you'll find more information about its capabilities.