/// <summary> /// Gets a list of events of the group matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://www.meetup.com/meetup_api/docs/:urlname/events/#listparams</cref> /// <cref>https://www.meetup.com/meetup_api/docs/:urlname/events/#listresponse</cref> /// </see> public IHttpResponse GetEvents(MeetupGetEventsOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } if (String.IsNullOrWhiteSpace(options.UrlName)) { throw new PropertyNotSetException(nameof(options.UrlName)); } return(Client.DoHttpGetRequest($"/{options.UrlName}/events", options)); }
/// <summary> /// Gets a list of events of the group matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="MeetupGetEventsResponse"/> representing the response.</returns> public MeetupGetEventsResponse GetEvents(MeetupGetEventsOptions options) { return(MeetupGetEventsResponse.ParseResponse(Raw.GetEvents(options))); }