getTopicsPaged function

Future<ServerResponse<PostSearchResponse>> getTopicsPaged (HttpClient http, GetTopicsPagedParams params)

Get topics from any forum.

Implementation

Future<ServerResponse<PostSearchResponse>> getTopicsPaged(HttpClient http, GetTopicsPagedParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Forum/GetTopicsPaged/${params.page}/${params.pageSize}/${params.group}/${params.sort}/${params.quickDate}/${params.categoryFilter}/",
    {
      'locales': params.locales,
      'tagstring': params.tagstring
    },
    null
    ));
}