Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ym-api-meowed

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ym-api-meowed

A Node.js wrapper for the Yandex.Music API (Unofficial) http://music.yandex.ru

  • 1.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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 ym-api-meowed

Usage

import { YMApi } from "ym-api-meowed";
const api = new YMApi();

(async () => {
  try {
    await api.init({ access_token: "EXAMPLE_TOKEN", uid: 0 });
    const result = await api.searchArtists("gorillaz");
    console.log({ result });
  } catch (e) {
    console.log(`api error ${e.message}`);
  }
})();

Get token from here and uid from here.

Available methods

This library provides following methods:

Plain API

Users
  • getAccountStatus
  • getFeed
Music
  • getChart
  • getNewReleases
  • getPodcasts
  • getGenres
  • search
  • searchArtists
  • searchTracks
  • searchAlbums
  • searchAll
Playlist
  • getNewPlaylists
  • getPlaylist
  • getPlaylists
  • getUserPlaylists
  • createPlaylist
  • removePlaylist
  • renamePlaylist
  • addTracksToPlaylist
  • removeTracksFromPlaylist
Tracks
  • getTrack
  • getArtistTracks
  • getSingleTrack
  • getTrackSupplement
  • getTrackDownloadInfo
  • getTrackDirectLink
  • getTrackShareLink
  • getSimilarTracks
  • getDislikedTracks
  • getLikedTracks
Album
  • getAlbums
  • getAlbum
  • getAlbumWithTracks
Artist
  • getArtist
  • getArtists
Station
  • getAllStationsList
  • getRecomendedStationsList
  • getStationTracks
  • getStationInfo

Wrapped API

Almost all methods of the wrapped api can be called with a entity id or url

Tracks
  • getConcreteDownloadInfo
  • getMp3DownloadInfo
  • getMp3DownloadUrl
Playlist
  • getPlaylist
Album
  • getAlbum
  • getAlbumWithTracks
Artist
  • getArtist
Etc
  • getShortenedLink

Acknowledgements

Keywords

FAQs

Package last updated on 11 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc