This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Track.GetDislikesTracks(string userId)
KirMozor edited this page May 14, 2022
·
1 revision
Allows you to get the user's disliked tracks. Token Required
Example:
using System;
using YandexMusicApi;
namespace Program
{
public class Player
{
static void Main(string[] args)
{
Token.token = "YOURTOKEN";
Console.WriteLine(Track.GetDislikesTracks("541320800")); //UserID
}
}
}
Output:
{
"invocationInfo": {
"hostname": "music-stable-back-vla-24.vla.yp-c.yandex.net",
"req-id": "dgfhfgumyfrikmrtykm8yr57k8578k-tyurtjryujtyy5ekie",
"exec-duration-millis": "4"
},
"result": {
"library": {
"uid": 1242308584,
"revision": 237,
"tracks": [
{
"id": "72926162",
"albumId": "12601766",
"timestamp": "2022-02-15T15:33:05+06:00"
},
{
"id": "214489",
"albumId": "21871",
"timestamp": "2022-02-11T09:57:10+06:00"
},
{
"id": "31386808",
"albumId": "3929305",
"timestamp": "2022-02-11T09:57:10+06:00"
},
{
"id": "62218974",
"albumId": "9784751",
"timestamp": "2022-02-10T14:43:40+06:00"
}
]
}
}
}