Skip to content

scleriot/Unofficial-Google-Music-API

 
 

Repository files navigation

gmusicapi: an unofficial API for Google Play Music

gmusicapi allows control of Google Music with Python.

from gmusicapi import Webclient

api = Webclient()
api.login('user@gmail.com', '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 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

image

I'll be without an internet connection until June 2nd.

Version 1.2.0 fixes a bug that fixes uploader_id formatting from a mac address. This change may cause another machine to be registered - you can safely remove the old machine (it's the one without the version in the name).

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


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

image

About

A client library for an unofficial Google Music api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%