Represents a Tag delivered from Last.fm
Inheritance: EntityBase
Esempio n. 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");
        }
Esempio n. 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");

        }