getDestinyAggregateActivityStats function

Future<ServerResponse<DestinyAggregateActivityResults>> getDestinyAggregateActivityStats (
  1. HttpClient http,
  2. GetDestinyAggregateActivityStatsParams params
)

Gets all activities the character has participated in together with aggregate statistics for those activities.

Implementation

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