SongGuess
    Preparing search index...

    Function fetchSongByISRC

    • Fetches Apple Music API to convert an isrc to an iTunes ID.

      Parameters

      • isrc: string

        The ISRC to lookup.

      Returns Promise<
          | {
              artist: string;
              audioURL: string;
              cover: string
              | null;
              hrefURL: string;
              name: string;
          }
          | null,
      >

      the iTunes ID or null if not found.