getTrendingEntryDetail function

Future<ServerResponse<TrendingDetail>> getTrendingEntryDetail (
  1. HttpClient http,
  2. GetTrendingEntryDetailParams params
)

Returns the detailed results for a specific trending entry. Note that trending entries are uniquely identified by a combination of both the TrendingEntryType and the identifier: the identifier alone is not guaranteed to be globally unique.

Implementation

Future<ServerResponse<TrendingDetail>> getTrendingEntryDetail(HttpClient http, GetTrendingEntryDetailParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Trending/Details/${params.trendingEntryType}/${params.identifier}/",
    null,
    null
    ));
}