예제 #1
0
 public Response SearchVenue(string venue)
 {
     var requestObject = new RequestObject();
     return (Response)requestObject
         .Get()
         .SetUri(Constants.Uri)
         .AppendPath("search")
         .AppendPath("venues.json")
         .Param("query", venue)
         .Param("apikey", Constants.APIKey)
         .ToResponseEntity(typeof(Response));
 }
예제 #2
0
        public Response SearchVenue(string venue)
        {
            var requestObject = new RequestObject();

            return((Response)requestObject
                   .Get()
                   .SetUri(Constants.Uri)
                   .AppendPath("search")
                   .AppendPath("venues.json")
                   .Param("query", venue)
                   .Param("apikey", Constants.APIKey)
                   .ToResponseEntity(typeof(Response)));
        }
예제 #3
0
 public Response GetTrackedArtistsCalendar(string username)
 {
     var requestObject = new RequestObject();
        return (Response)requestObject
         .Get()
         .SetUri(Constants.Uri)
         .AppendPath("users")
         .AppendPath(username)
         .AppendPath("calendar.json")
         .Param("reason", "tracked_artist")
         .Param("apikey", Constants.APIKey)
         .ToResponseEntity(typeof(Response));
 }
예제 #4
0
 public Response GetTrackedLocations(string username)
 {
     var requestObject = new RequestObject();
     return (Response)requestObject
         .Get()
         .SetUri(Constants.Uri)
         .AppendPath("users")
         .AppendPath(username)
         .AppendPath("metro_areas")
         .AppendPath("tracked.json")
         .Param("apikey", Constants.APIKey)
         .ToResponseEntity(typeof(Response));
 }
예제 #5
0
        public Response GetAttendedCalendar(string username)
        {
            var requestObject = new RequestObject();

            return((Response)requestObject
                   .Get()
                   .SetUri(Constants.Uri)
                   .AppendPath("users")
                   .AppendPath(username)
                   .AppendPath("calendar.json")
                   .Param("reason", "attendance")
                   .Param("apikey", Constants.APIKey)
                   .ToResponseEntity(typeof(Response)));
        }
예제 #6
0
        public Response GetTrackedLocations(string username)
        {
            var requestObject = new RequestObject();

            return((Response)requestObject
                   .Get()
                   .SetUri(Constants.Uri)
                   .AppendPath("users")
                   .AppendPath(username)
                   .AppendPath("metro_areas")
                   .AppendPath("tracked.json")
                   .Param("apikey", Constants.APIKey)
                   .ToResponseEntity(typeof(Response)));
        }
예제 #7
0
 public Response GetTrackedArtists(string username, int page)
 {
     var requestObject = new RequestObject();
     return (Response)requestObject
         .Get()
         .SetUri(Constants.Uri)
         .AppendPath("users")
         .AppendPath(username)
         .AppendPath("artists")
         .AppendPath("tracked.json")
         .Param("page", page.ToString())
         .Param("apikey", Constants.APIKey)
         .ToResponseEntity(typeof(Response));
 }
예제 #8
0
        public Response GetTrackedArtists(string username, int page)
        {
            var requestObject = new RequestObject();

            return((Response)requestObject
                   .Get()
                   .SetUri(Constants.Uri)
                   .AppendPath("users")
                   .AppendPath(username)
                   .AppendPath("artists")
                   .AppendPath("tracked.json")
                   .Param("page", page.ToString())
                   .Param("apikey", Constants.APIKey)
                   .ToResponseEntity(typeof(Response)));
        }