コード例 #1
0
ファイル: AlbumArt.cs プロジェクト: buildist/SpotifyToaster
 public static void Main()
 {
     AlbumInfo albumInfo = new AlbumInfo();
     //Console.WriteLine("Last FM API Key: " + albumArt.getLastFMAPIKey());
     albumInfo.loadAlbumInfo("The Chainsmokers", "#SELFIE");
     Console.WriteLine("Album Title: " + albumInfo.getAlbumTitle());
     Console.WriteLine("Track Number: " + albumInfo.getTrackNumber());
     Console.WriteLine("Image URL: " + albumInfo.getAlbumImageURL());
 }
コード例 #2
0
        public static void Main()
        {
            AlbumInfo albumInfo = new AlbumInfo();

            //Console.WriteLine("Last FM API Key: " + albumArt.getLastFMAPIKey());
            albumInfo.loadAlbumInfoAsync(@"The Chainsmokers", @"#SELFIE");
            Console.WriteLine($@"Album Title: {albumInfo.getAlbumTitle()}");
            Console.WriteLine($@"Track Number: {albumInfo.getTrackNumber()}");
            Console.WriteLine($@"Image URL: {albumInfo.getAlbumImageURL()}");
        }