Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Album.MoreInformAlbums(List string albumsId)

KirMozor edited this page May 7, 2022 · 1 revision

Allows you to get information about albums. Use like this:

Example:

using System;
using System.Collections.Generic;
using YandexMusicApi;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            var albumsId = new List<string>();
            
            albumsId.Add("13984185");
            albumsId.Add("13730064");
            
            Console.WriteLine(Album.MoreInformAlbums(albumsId));
        }
    }
}

Output:

{
  "invocationInfo": {
    "hostname": "music-stable-back-sas-54.sas.yp-c.yandex.net",
    "req-id": "i4w567uw47457j23j5fj2331",
    "exec-duration-millis": "1"
  },
  "result": [
    {
      "id": 13984185,
      "title": "Голос",
      "type": "single",
      "metaType": "music",
      "year": 2021,
      "releaseDate": "2021-02-23T03:00:00+06:00",
      "coverUri": "avatars.yandex.net/get-music-content/4399644/288ae1b2.a.13984185-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/4399644/288ae1b2.a.13984185-1/%%",
      "genre": "ruspop",
      "buy": [],
      "trackCount": 1,
      "likesCount": 45,
      "recent": false,
      "veryImportant": false,
      "artists": [
        {
          "id": 796797,
          "name": "ЕГОР КРИД",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "prefix": "2aca647c.p.796797/",
            "uri": "avatars.yandex.net/get-music-content/5234929/2aca647c.p.796797/%%"
          },
          "genres": []
        }
      ],
      "labels": [
        {
          "id": 1034713,
          "name": "Warner Music Russia"
        }
      ],
      "available": true,
      "availableForPremiumUsers": true,
      "availableForMobile": true,
      "availablePartially": false,
      "bests": []
    },
    {
      "id": 13730064,
      "title": "Вы это слышали?",
      "metaType": "music",
      "year": 2021,
      "releaseDate": "2021-02-19T03:00:00+06:00",
      "coverUri": "avatars.yandex.net/get-music-content/4406810/ce135ee5.a.13730064-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/4406810/ce135ee5.a.13730064-1/%%",
      "genre": "punk",
      "buy": [],
      "trackCount": 5,
      "likesCount": 38,
      "recent": false,
      "veryImportant": false,
      "artists": [
        {
          "id": 5647774,
          "name": "Nagart",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-album-cover",
            "prefix": "bbffad77.a.6769957-1",
            "uri": "avatars.yandex.net/get-music-content/117546/bbffad77.a.6769957-1/%%"
          },
          "genres": []
        }
      ],
      "labels": [
        {
          "id": 35880,
          "name": "Союз Мьюзик"
        }
      ],
      "available": true,
      "availableForPremiumUsers": true,
      "availableForMobile": true,
      "availablePartially": false,
      "bests": []
    }
  ]
}

Clone this wiki locally