searchPublicAvailableClanFireteams function

Future<ServerResponse<SearchResultOfFireteamSummary>> searchPublicAvailableClanFireteams (
  1. HttpClient http,
  2. SearchPublicAvailableClanFireteamsParams params
)

Gets a listing of all public fireteams starting now with open slots. Caller is not checked for join criteria so caching is maximized.

Implementation

Future<ServerResponse<SearchResultOfFireteamSummary>> searchPublicAvailableClanFireteams(HttpClient http, SearchPublicAvailableClanFireteamsParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Fireteam/Search/Available/${params.platform}/${params.activityType}/${params.dateRange}/${params.slotFilter}/${params.page}/",
    {
      'langFilter': params.langFilter
    },
    null
    ));
}