An unofficial client library for Google Music.
gmusicapi allows control of
Google Music__ with Python.
.. code-block:: python
from gmusicapi import Mobileclient
api = Mobileclient()
after running api.perform_oauth() once:
library = api.get_all_songs() sweet_track_ids = [track['id'] for track in library if track['artist'] == 'The Cat Empire']
gmusicapi is not supported nor endorsed by Google.
That said, it's actively maintained, and powers a bunch of cool projects:
one designed for the visually impaired,
a web-based jukebox which ships with its own server,
a FUSE filesystem, and
an Alexa skill__
syncing playlists, and
migrating to a different account__
gmusicprocurator, as well as plugins for
autoplaylists / smart playlists__
the usage docs__, which will guide you through installation and the available apis.
Once you're up and running, you can explore the rest of the docs at http://unofficial-google-music-api.readthedocs.io.
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.
.. |build_status| image:: https://travis-ci.org/simon-weber/gmusicapi.png?branch=develop :target: https://travis-ci.org/simon-weber/gmusicapi
For fine-grained development updates, follow me on Twitter: