Definition
callTwitchApiRaw(options, clientId, accessToken, authorizationType, fetchOptions, mockServerPort)
asyncMakes a call to the Twitch API using the given credentials, returning the raw Response object.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| options | TwitchApiCallOptions | none | The configuration of the call. | |
| clientId | string | none | The client ID of your application. | |
| accessToken | string | none | The access token to call the API with. You need to obtain one using one of the Twitch OAuth flows. | |
| authorizationType | string | none | The type of Authorization header to send. Defaults to "Bearer" for Helix and "OAuth" for everything else. | |
| fetchOptions | TwitchApiCallFetchOptions | <complex> | Additional options to be passed to the | |
| mockServerPort | number | none | none |
Return type: Response