goo

googlemusicapi

Unofficial Node.js API for Google Play Music

Showing:

Popularity

Downloads/wk

5

GitHub Stars

31

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

2

Size (min+gzip)

246.5KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

GoogleMusicAPI.NodeJS an unofficial API for Google Play Music

GOOGLE MUSIC API

allows control of Google Music <http://music.google.com> with NodeJS.

Requires:

  • GoogleClientLogin
  • restler
    var googlemusic = new GoogleMusic('user@gmail.com', 'password');
    googlemusic.Login(function () {
        googlemusic.GetAllSongs('', function(result) {
            var length = result.length;
            var i;
            for (i=0 ; i<length ; i++) {
                console.log(result[i].title); // get title of all songs
            }
        });
        googlemusic.GetPlaylist('All', function(result) {
            var length = result.length;
            var i;
            for (i=0 ; i<length ; i++) {
                console.log(result[i].playListId); // get id of all playlists
            }
        });
    });

Methods:

  • GetStatus

    get basic inforamtion( total tracks, total albums, personolized ads :) )

  • GetAllSongs

    get all songs for Google Play, google play could respond with chunks, to receive with chunks get songs with continuationToken

  • GetPlaylist

    get playlist by id, or use "All" for getting all playlists

  • GetSongURL

    get song url, pass song id to this function

  • DeletePlaylist

    delete playlist, pass playlist id to this function

  • GetNewAndRecent

    get new and recent albums

  • GetMixEntries

    get mixed playlists

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100