getStreamingStatusForMember function

Future<ServerResponse<CommunityLiveStatus>> getStreamingStatusForMember (HttpClient http, GetStreamingStatusForMemberParams params)

Gets the Live Streaming status of a particular Account and Membership Type.

Implementation

Future<ServerResponse<CommunityLiveStatus>> getStreamingStatusForMember(HttpClient http, GetStreamingStatusForMemberParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/CommunityContent/Live/Users/${params.partnershipType}/${params.membershipType}/${params.membershipId}/",
    null,
    null
    ));
}