gmusicapi 0,2,1,0,1,0,6,1 travis-ci python

An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music

gmusicapi allows control of Google Music <http://music.google.com>__ with Python.

.. code-block:: python

from gmusicapi import Mobileclient

api = Mobileclient()
api.login('[email protected]', 'my-password', Mobileclient.FROM_MAC_ADDRESS)
# => 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 powers a bunch of cool projects:

  • alternate clients, including one designed for the visually impaired <https://github.com/chrisnorman7/gmp3>, a web-based jukebox which ships with its own server <https://github.com/chrisnorman7/jukebox>, a command line client <https://github.com/christopher-dg/pmcli>, a FUSE filesystem <https://github.com/EnigmaCurry/GMusicFS>, and an Alexa skill <https://github.com/stevenleeg/geemusic>__
  • library management tools for syncing tracks <https://github.com/thebigmunch/gmusicapi-scripts>, syncing playlists <https://github.com/soulfx/gmusic-playlist>, and migrating to a different account <https://github.com/brettcoburn/gmusic-migrate>__
  • proxies for media players, such as gmusicproxy <http://gmusicproxy.net>__ and gmusicprocurator <https://github.com/malept/gmusicprocurator>, as well as plugins for Mopidy <https://github.com/hechtus/mopidy-gmusic>, Squeezebox <https://github.com/hechtus/squeezebox-googlemusic>__ and Tizonia <https://github.com/tizonia/tizonia-openmax-il>__.
  • enhancements like autoplaylists / smart playlists <https://autoplaylists.simon.codes>__

Getting started

Start with the usage docs <http://unofficial-google-music-api.readthedocs.io/en/latest/usage.html#usage>__, 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 <http://webchat.freenode.net/?channels=gmusicapi>__ or shoot me an email.

Status and updates

.. image:: https://travis-ci.org/simon-weber/gmusicapi.png?branch=develop :target: https://travis-ci.org/simon-weber/gmusicapi

  • February 2016: Python 3 support!
  • September 2015: Google switched to a new music uploading endpoint, breaking uploading for outdated versions of gmusicapi.
  • June 2015: Full mobileclient and webclient functionality was restored.
  • May 2015: Limited mobileclient functionality was restored.
  • April 2015: Google deprecated clientlogin, breaking both the webclient and mobileclient.
  • November 2013: I started working fulltime at Venmo, meaning this project is back to night and weekend development.

For fine-grained development updates, follow me on Twitter: @simonmweber <https://twitter.com/simonmweber>__.


Copyright 2015 Simon Weber <http://www.simonmweber.com>__. Licensed under the 3-clause BSD. See LICENSE.

Related Repositories

gmusicapi

gmusicapi

An unofficial client library for Google Music. ...

gmusicapi-scripts

gmusicapi-scripts

A collection of scripts for gmusicapi. https://thebigmunch.github.io/gmusicapi-scripts/ ...

gmusicapiCSharp

gmusicapiCSharp

A C# wrapper for gmusicapi with IronPython ...

gmusicapi-wrapper

gmusicapi-wrapper

A wrapper interface around gmusicapi. ...

xbmc-gmusicapi

xbmc-gmusicapi

gmusicapi library module packed for xbmc ...


Top Contributors

simon-weber thebigmunch hechtus sauyon tjstum ocherny dpogue juanrubio soulfx rweichler jimyx17 karlak foreverguest EnigmaCurry udan11 clehner iXce mystilleef lloeki lchiocca malept menan rraval gumho stetro Tadly TimSimpsonR Tyris jamon siebert

Releases

-   2013.03.04 zip tar
-   2013.02.27 zip tar
-   2013.02.15 zip tar
-   2013.02.14 zip tar
-   2013.02.12 zip tar
-   2013.02.11 zip tar
-   2013.02.09 zip tar
-   2013.01.05 zip tar
-   2012.11.09 zip tar
-   2012.08.31 zip tar
-   2012.05.04 zip tar
-   2012.04.01 zip tar
-   2012.03.27 zip tar
-   2012.03.16 zip tar
-   2012.03.04 zip tar
-   10.0.1 zip tar
-   10.0.0 zip tar
-   9.0.0 zip tar
-   8.0.0 zip tar
-   7.0.0 zip tar
-   6.0.0 zip tar
-   5.0.0 zip tar
-   4.0.0 zip tar
-   3.1.0 zip tar
-   3.0.1 zip tar
-   3.0.0 zip tar
-   2.0.0 zip tar
-   1.2.0 zip tar
-   1.1.0 zip tar
-   1.0.0 zip tar