hotlist
hotlist(
variables
,init
?):Promise
<TypedResponse
<Response
>>
Low-level function for making a hotlist
request.
Parameters
• variables: Variables
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Link
https://khan-api.bhavjit.com/reference/view/19553924/2s8YzQUiXU#63956e0c-3e52-410a-9c80-70b5b8031d97
Example
Simple usage without error handling:
const response = await queries.hotlist({
onlyOfficialProjectSpinoffs: false,
})
const json = await response.json()
const programs = json.data.listTopPrograms.programs