getUserHoverCardProfile
getUserHoverCardProfile(variables, init)
getUserHoverCardProfile(
variables
,init
?):Promise
<TypedResponse
<Response
>>
Low-level function for making a getUserHoverCardProfile
request.
Parameters
• variables: Variables
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Link
Example
Simple usage without error handling:
const response = await queries.getUserHoverCardProfile({
kaid: 'kaid_326465577260382527912172'
})
const json = await response.json()
const profile = json.data.user
Source
src/queries/getUserHoverCardProfile.ts:70
getUserHoverCardProfile(kaid, init)
getUserHoverCardProfile(
kaid
,init
?):Promise
<TypedResponse
<Response
>>
Parameters
• kaid: `kaid_${number}`
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Example
Alternative usage:
const response = await queries.getUserHoverCardProfile('kaid_326465577260382527912172')
const json = await response.json()
const profile = json.data.user