getClips method

  1. @override
Future<HttpResult<OpenApiGetClipsResponse>> getClips({
  1. required String broadcasterId,
})
override

Implementation

@override
Future<HttpResult<OpenApiGetClipsResponse>> getClips({
  required String broadcasterId,
}) {
  return client.makeGet(
    OpenApiChannelConstants.getClipsEndpoint,
    convertBodyFunc: (response) =>
        OpenApiGetClipsResponse.fromHttpResponse(response),
    queryParameters: {
      OpenApiChannelConstants.queryParamBroadcasterId: broadcasterId,
    },
    bearerToken: token,
    clientId: clientId,
  );
}