/Unofficial-Google-Music-API

A client library for an unofficial Google Music api.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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_tracks = [track 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_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

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

The project is in the middle of a major change at the moment: the Webclient interface has gotten horrible to maintain, so I'm working on switching the the Android app api. This will provide easy All Access support and easier maintainability going forward. At this point, prefer the Mobileclient to the Webclient whenever possible.

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


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

https://cruel-carlota.pagodabox.com/68a92ecf6b6590372f435fb2674d072e