SongGuess
    Preparing search index...

    Function getPlaylistByURL

    • Attempts to retrieve a Playlist by fetching songs from the iTunes Search API and (via proxy) music.apple.com.

      Parameters

      • url: string

        The Apple Music URL of the artist, song or album.

      Returns Promise<
          | {
              cover: string
              | null;
              hrefURL: string;
              name: string;
              songs: {
                  artist: string;
                  audioURL: string;
                  cover: string | null;
                  hrefURL: string;
                  name: string;
              }[];
              subtitle?: string;
          }
          | null,
      >