Code Monkey home page Code Monkey logo

unofficial-google-music-api's Introduction

#GMAPI: an unofficial Python API for Google Music

The project is not supported nor endorsed by Google. I'll be interning for Google this summer, so to avoid conflicts of interest I'll stop contributing sometime in May. Get in touch if you're interested in taking over maintenance.

Respect Google in your use of the API. Use common sense (protocol compliance, reasonable load, etc) and don't ruin the fun for everyone else.

Official documentation is provided by Read the Docs: documentation. More information will be added to these shortly.

Feel free to email me or - better yet - open an issue for bugs, feature requests, or contributions.

##Features

  • Getting library information:

    • all song metadata
    • all user playlist titles and ids (not autoplaylists, yet)
    • songs from a specific playlist
  • Song streaming and downloading

  • Song uploading (only mp3s supported, currently)

  • Playlist manipulation:

    • creation
    • name modification
    • song addition and removal
    • deletion
  • Song manipulation:

    • metadata modification (be sure to read protocol_info)
    • removal from library
  • Searching for songs, artists, and albums.

What's on the way:

  • better docs, including expected responses
  • autoplaylist support

##Usage

gmapi.api.Api is the user-facing interface. To get started, install the dependencies and see example.py. For more information, see the documentation and testing code.

##Dependencies

The API has been tested on Python 2.7.1+ on Linux.

Currently, the following third party modules are used:

These correspond to the following Ubuntu packages:

python-decorator python-mutagen python-protobuf python-mechanize

##Ports and Forks

I've seen a lot of excitement about possible ports, especially for mobile and web use. If you want to, go for it! You'll probably want to ignore anything related to Music Manager, since that's just for uploading.

Keep in mind that ports are likely to be considered derivative works under the GPL, and, again, be sure to respect Google.

If you're working on a port, get in touch; I may be able to help out.

##Notes

This is a work in progress, so debug logging is enabled by default. All logging is done to gmapi.log in your working directory, and warnings and above are printed to the console. Nothing authentication-related gets logged aside from "logged in" and "logged out" messages.


Copyright 2012 Simon Weber
Licensed under the GPLv3.

unofficial-google-music-api's People

Contributors

gumho avatar simon-weber avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.