Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 726 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 726 Bytes

Yandex.Music API (Unofficial) for Node

This is a Node.js wrapper for the Yandex.Music API that is used in mobile apps (iOS/Android).

Installation

npm install yandex-music-api

Usage

var YandexMusicApi = require('yandex-music-api');

var api = new YandexMusicApi();

api.init({username: 'example@yandex.ru', password: 'password'}).then(function() {
	// place code here
})

This library provides following functions:

Users

  • getAccountStatus
  • getFeed

Music

  • getGenres
  • search

Playlist

  • getUserPlaylists
  • getPlaylist
  • getPlaylists
  • createPlaylist
  • removePlaylist
  • renamePlaylist
  • addTracksToPlaylist
  • removeTracksFromPlaylist