getUniqueWeaponHistory function

Future<ServerResponse<DestinyHistoricalWeaponStatsData>> getUniqueWeaponHistory (HttpClient http, GetUniqueWeaponHistoryParams params)

Gets details about unique weapon usage, including all exotic weapons.

Implementation

Future<ServerResponse<DestinyHistoricalWeaponStatsData>> getUniqueWeaponHistory(HttpClient http, GetUniqueWeaponHistoryParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Destiny2/${params.membershipType}/Account/${params.destinyMembershipId}/Character/${params.characterId}/Stats/UniqueWeapons/",
    null,
    null
    ));
}