getClanWeeklyRewardState function

Future<ServerResponse<DestinyMilestone>> getClanWeeklyRewardState (
  1. HttpClient http,
  2. GetClanWeeklyRewardStateParams params
)

Returns information on the weekly clan rewards and if the clan has earned them or not. Note that this will always report rewards as not redeemed.

Implementation

Future<ServerResponse<DestinyMilestone>> getClanWeeklyRewardState(HttpClient http, GetClanWeeklyRewardStateParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Destiny2/Clan/${params.groupId}/WeeklyRewardState/",
    null,
    null
    ));
}