-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
35 lines (35 loc) · 1.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "googlemusicapi",
"description": "Access to Google Music",
"url": "https://github.com/sagens42/GoogleMusicAPI.NodeJS",
"keywords": [
"google",
"music",
"api",
"javascript"
],
"repository": {
"type": "git",
"url": "git://github.com/sagens42/GoogleMusicAPI.NodeJS.git"
},
"bugs": {
"url": "https://github.com/sagens42/GoogleMusicAPI.NodeJS"
},
"engines": {
"node": ">=0.4.1"
},
"author": {
"name": "Sergei Zholudev",
"email": "zholudev.s@gmail.com",
"url": "http://sagens.me"
},
"dependencies": {
"googleclientlogin": ">=0.2.5",
"restler": "*"
},
"version": "0.0.11",
"readme": "GoogleMusicAPI.NodeJS an unofficial API for Google Play Music\r\n=====================\r\nGOOGLE MUSIC API\r\n\r\nallows control of\r\n`Google Music <http://music.google.com>` with NodeJS.\r\n\r\n**Requires:** \r\n- GoogleClientLogin (use file in project, original module does not have needed feature)\r\n- restler\r\n\r\n```javascript\r\n\tvar googlemusic = new GoogleMusic('user@gmail.com', 'password');\r\n\tgooglemusic.Login(function () {\r\n\t\tgooglemusic.GetAllSongs('', function(result) {\r\n\t\t\tvar length = result.length;\r\n\t\t\tvar i;\r\n\t\t\tfor (i=0 ; i<length ; i++) {\r\n\t\t\t\tconsole.log(result[i].title); // get title of all songs\r\n\t\t\t}\r\n\t\t});\r\n\t\tgooglemusic.GetPlaylist('All', function(result) {\r\n\t\t\tvar length = result.length;\r\n\t\t\tvar i;\r\n\t\t\tfor (i=0 ; i<length ; i++) {\r\n\t\t\t\tconsole.log(result[i].playListId); // get id of all playlists\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n```",
"readmeFilename": "README.md",
"_id": "googlemusicapi@0.0.9",
"_from": "googlemusicapi@*"
}