getRequest<Defined in: twitch.ts:185 A tiny wrapper around Json(safeFetch) that implements fetchBearer to set the proper headers and adds the BaseUrlHelix for the base path.T>(path):Promise<FetchResult<T>>
Type Parameters
T
T extends object
Parameters
path
string
The Twitch Path to fetch
Returns
Promise<FetchResult<T>>
The response to the request