Catalog npm
Back to packageRELEASE DETAILS

0.0.1

npm

163-music

Netease Music SDK in Node.js

163music
Published28 Aug 2018
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

163-music 163-music

Netease Music SDK in Node.js

Installation

$ npm install 163-music

Example

const NeteaseMusic = require('163-music');

const nm = new NeteaseMusic({
    cookie: '__Your_Cookies__'
})

nm.search('Love Song').then(({ result }) => {
  const { songs } = result;
  songs.forEach(song => {
    console.log(`search(#${song.id}):`, song.name);
  });
})

nm.playlist('751387161').then(data => {
  console.log('歌单', data)
})

nm.picture('19124905253588326', 400).then(data => {
  console.log('图片地址', data)
})

nm.artist('4130').then(data => {
  console.log('艺术家', data)
})

nm.album('35327877').then(data => {
  console.log('歌单', data)
})

nm.lyric('479403027').then(data => {
  console.log('歌词', data)
})

nm.url('82360').then(({ data: resources }) => {
  resources.forEach(resource => {
    const { id, url } = resource;
    console.log(`song(#${id}):`, url);
  });
})

nm.song('479403027').then(data => {
  console.log('歌曲详情', data)
})

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-GDzKgZ6kwP8YAkHQAkRvVu/9CaYTm5ya06XTqUwcMvg54tx+6Zg7dZnY1gGoxhbMc8tqzxZ7vOHE6sVO78KG5w==",
  "shasum": "2e38ef6ad22a90c93e4feb31d664ec598389baf7",
  "tarball": "https://registry.npmjs.org/163-music/-/163-music-0.0.1.tgz",
  "fileCount": 8,
  "unpackedSize": 23572,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhUWnCRA9TVsSAnZWagAAkt8QAKE8vwkWLCGjc9TgET+J\nyium7XZwKDL+GIqHvjbPq9O+jkgUBHd7SsDVxIXtTMUQhasAjB6PzqrvTeE4\nLllB5xFpq89scNFSxbDU4iQo+2CwkyfsahtuKj+Fa6xNEY25+4dHlXWwYbT7\nqBzK4KPGgE6rSMGLSobJWZRqDWr7y8+exCUg1HP/NfjgekAk/sxQ9HdpsYvu\nKi8rTpBCHYl3nioj08PlULz7WxvZikJvfZ2un4gCWh5DEGD3NAeF8AeqQ/FI\n+tmLV2uaU4KovVSx6v28/g4Qag325FfABWb4ip3uQHyXqpaTuUmkU6wl2kNH\nUcAeZHg9OqxJZy511GxnlsC2NmPSDvAyVRZmwxFpUMwdbzAQGy6T3HKQu3Ce\nofqPeM+3HSq3Z74G+rtkIByrCnMtmIYLmNGO1v2vOFQySnRo0vin8S89sZLx\n/SsDgCwm1ksBMd5X1MVRiyeOeLhfAZGIJueOqWIh2SZ8itFox5x6ILTQ5Ex8\n351MX60SLCByY1HhmnLmYfoXQGcta5wnguilelBqKgDjWv9dSJJYFjlaEOia\nHIe3Qj5Uj/N/PWo2ImdC0LYnCqZaiIPG4IGJGc//TsgDjD18imY7iHzicR0X\nMdMkm28F3Sw0aWo5aGp5XhIPe+Ft6T5360Ph7IwQ9sgpWtCx+Oa6SExze+SO\nXy73\r\n=WOrM\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIDgfgE6jJbL9xlopSZ88gUQ/dqlRZQAhX23uAtexCV3vAiBjGTBs92DSUbvuYlX/wwh7Sr8bFZgsk39LoXlwWHst/Q=="
    }
  ]
}

Repository

PENDING
song940/163-music

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:39e3c4e71d1fffdb0573442c5a8ac0dd15e4d57113d1485ce4dc0deb2c07b74b

Other collected versions

0.0.231 AugView all collected versions →