getFeaturedCommunityLiveStatuses function

Future<ServerResponse<SearchResultOfCommunityLiveStatus>> getFeaturedCommunityLiveStatuses (HttpClient http, GetFeaturedCommunityLiveStatusesParams params)

Returns info about Featured live streams.

Implementation

Future<ServerResponse<SearchResultOfCommunityLiveStatus>> getFeaturedCommunityLiveStatuses(HttpClient http, GetFeaturedCommunityLiveStatusesParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/CommunityContent/Live/Featured/${params.partnershipType}/${params.sort}/${params.page}/",
    {
      'streamLocale': params.streamLocale
    },
    null
    ));
}