Socket
Socket
Sign inDemoInstall

ym-api-meowed

Package Overview
Dependencies
5
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.3 to 1.2.4

2

package.json
{
"name": "ym-api-meowed",
"version": "1.2.3",
"version": "1.2.4",
"description": "A Node.js wrapper for the Yandex.Music API (Unofficial) http://music.yandex.ru",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -8,3 +8,3 @@ # Yandex.Music API (Unofficial) for Node

```sh
npm install ym-api
npm install ym-api-meowed
```

@@ -15,3 +15,3 @@

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

@@ -43,2 +43,5 @@

- getChart
- getNewReleases
- getPodcasts
- getGenres

@@ -53,2 +56,3 @@ - search

- getNewPlaylists
- getPlaylist

@@ -71,2 +75,5 @@ - getPlaylists

- getTrackDirectLink
- getSimmilarTracks
- getDislikedTracks
- getLikedTracks

@@ -84,2 +91,9 @@ #### Album

#### Station
- getAllStationsList
- getRecomendedStationsList
- getStationTracks
- getStationInfo
### Wrapped API

@@ -112,1 +126,2 @@

- [MarshalX/yandex-music-api](https://github.com/MarshalX/yandex-music-api)
- [kontsevoye/ym-api](https://github.com/kontsevoye/ym-api)

@@ -638,2 +638,2 @@ export type RequestHeaders = { [key: string]: string };

simmilarTracks: Array<Track>;
}
};

@@ -534,3 +534,3 @@ import { authRequest, apiRequest, directLinkRequest } from "./PreparedRequest";

return this.httpClient.get(request) as Promise<SimmilarTracksResponse>
return this.httpClient.get(request) as Promise<SimmilarTracksResponse>;
}

@@ -620,3 +620,5 @@

getLikedTracks(userId: number | string | null = null): Promise<DisOrLikedTracks> {
getLikedTracks(
userId: number | string | null = null
): Promise<DisOrLikedTracks> {
const uid = [null, 0, ""].includes(userId) ? this.user.uid : userId;

@@ -630,3 +632,5 @@ const request = apiRequest()

getDislikedTracks(userId: number | string | null = null): Promise<DisOrLikedTracks> {
getDislikedTracks(
userId: number | string | null = null
): Promise<DisOrLikedTracks> {
const uid = [null, 0, ""].includes(userId) ? this.user.uid : userId;

@@ -633,0 +637,0 @@ const request = apiRequest()

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc