Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A client library for an unofficial Google Music api.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
gmusicapi
.gitignore
.travis.yml
AUTHORS
CONTRIBUTING.md
HISTORY.rst
LICENSE
MANIFEST.in
README.rst
example.py
requirements.txt
setup.py

README.rst

gmusicapi: an unofficial API for Google Play Music

gmusicapi allows control of Google Music with Python.

from gmusicapi import Mobileclient

api = Mobileclient()
api.login('user@gmail.com', 'my-password')
# => True

library = api.get_all_songs()
sweet_track_ids = [track['id'] for track in library
                   if track['artist'] == 'The Cat Empire']

playlist_id = api.create_playlist('Rad muzak')
api.add_songs_to_playlist(playlist_id, sweet_track_ids)

gmusicapi is not supported nor endorsed by Google.

That said, it's actively maintained, and used in a bunch of cool projects, like:

Getting started

Everything you need is at http://unofficial-google-music-api.readthedocs.org.

If the documentation doesn't answer your questions, or you just want to get in touch, either drop by #gmusicapi on Freenode or shoot me an email.

Status and updates

https://travis-ci.org/simon-weber/Unofficial-Google-Music-API.png?branch=develop

Over the summer, gmusicapi began a major shift away from the Webclient interface. That's finished now, so prefer the new Mobileclient interface whenever possible. Non-deprecated parts of the Webclient are listed at the Webclient documentation page.

I've started fulltime work at Venmo as of November, meaning this project is back to night and weekend development.

For fine-grained development updates, follow me on Twitter: @simonmweber.


Copyright 2014 Simon Weber. Licensed under the 3-clause BSD. See LICENSE.

Something went wrong with that request. Please try again.