Skip to content
An unofficial client library for Google Music.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


gmusicapi: an unofficial API for Google Play Music

gmusicapi allows control of Google Music with Python.

from gmusicapi import Webclient

api = Webclient()
api.login('', 'my-password')
# => True

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

playlist_id = api.create_playlist('Rad muzak')
api.change_playlist(playlist_id, sweet_tracks)

gmusicapi is not supported nor endorsed by Google.

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

Getting started

Everything you need is at

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

Version 1.0.0 splits the previous Api interface into Webclient and Musicmanager. See for help with the new interfaces.

If you're upgrading from a date-versioned release, you'll need to force the install: pip uninstall gmusicapi; pip install gmusicapi.

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

Copyright 2013 Simon Weber. Licensed under the 3-clause BSD. See LICENSE.
Something went wrong with that request. Please try again.