yandex-short-api

1.0.0 • Public • Published

YandexApi

(async () => {
    const { YandexMusicApi } = require('../index');

    const m = new YandexMusicApi();

    const userName = 'IRuss23';
    const playlistId = '3';

    const playlist = await m.getPlaylist(userName, playlistId);

    console.log(playlist.tracks.map(({ title, artists: [{ name }] }) => `${title} ${name}`).reverse());
})();

Exmaples

If you want to try something with this lib, check exmaples


Docs?

This lib is simply as can. Just read the code


TODO

  • add fetching for files (if it's legal)
  • maybe add kinopoisk api (if i need it)

Readme

Keywords

none

Package Sidebar

Install

npm i yandex-short-api

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.76 kB

Total Files

3

Last publish

Collaborators

  • ilya777grin23