Represents a Tag delivered from Last.fm
상속: EntityBase
예제 #1
0
        public LoadLastFmListDataResult<Artist> WeeklyArtistChart(Tag tag)
        {
            var p1 = new Parameter
            {
                Name = LastFmDataAccess.ParamMethod,
                Value = LastFmDataAccess.MethodTagGetWeeklyArtistChart
            };
            var p2 = new Parameter
            {
                Name = LastFmDataAccess.ParamTag,
                Value = tag.Name
            };

            return new LoadLastFmListDataResult<Artist>(
                SearchStringBuilder(new[] { p1, p2 }),
                "artist");
        }
예제 #2
0
        public LoadLastFmListDataResult<Track> TopTracks(Tag tag)
        {
            var p1 = new Parameter
            {
                Name = LastFmDataAccess.ParamMethod,
                Value = LastFmDataAccess.MethodTagGetTopTracks
            };
            var p2 = new Parameter
            {
                Name = LastFmDataAccess.ParamTag,
                Value = tag.Name
            };

            return new LoadLastFmListDataResult<Track>(
                SearchStringBuilder(new[] { p1, p2 }),
                "track");

        }