Gmusicapi

An unofficial client library for Google Music.
Alternatives To Gmusicapi
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Gmusicapi2,505
2 years ago62bsd-3-clausePython
An unofficial client library for Google Music.
Gmusicproxy317
3 years ago15gpl-3.0Python
Google Play Music Proxy - "Let's stream Google Play Music using any media-player"
Google Music Electron26223 years ago62December 31, 201910unlicenseJavaScript
Desktop app for Google Music on top of Electron
Googlemusic Xbmc180
3 years ago14gpl-3.0Python
Google Music addon for Kodi
Portify.js163
3 years agoJavaScript
A pure javascript method to port playlists between spotify and google all access music.
Gmusicfs158
7 years ago33Python
A FUSE filesystem for Google Music
Google Music Dupe Killer125
4 years ago7Python
Removes any duplicate songs from Google Music that have the same title and album.
Prime Player Google Play Music123
5 years ago17otherJavaScript
Chrome extension for Google Play Music
Gmusic.api97
4 years ago7Java
An unofficial Java api for Google Music
Googlemusicmac97
8 years agoJavaScript
Wrapper for Google Music that turns All Access into a separate app that is compatible with the Mac's media keys.
Alternatives To Gmusicapi
Select To Compare


Alternative Project Comparisons
Readme

gmusicapi: an unofficial API for Google Play Music

gmusicapi allows control of Google Music with Python.

from gmusicapi import Mobileclient

api = Mobileclient()
# after running api.perform_oauth() once:
api.oauth_login('<a previously-registered device id>')
# => 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:

Getting started

Start with 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.

Status and updates

build_status

  • January 2020: Python 2 support dropped.
  • November 2018: proper OAuth support for the mobileclient.
  • 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.

Popular Google Projects
Popular Google Music Projects
Popular Companies Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python2
Python
Python3
Google
Google Music