Overview
Methods
Can be accessed using client.goals
on an ApiClient instance.
Example
const api = new ApiClient({ authProvider });
const { data: goals } = await api.helix.goals.getGoals('61369223');
@meta category helix
@meta categorizedTitle Goals
Methods
getGoals(broadcaster)
asyncParameter | Type | Required | Default | Description |
---|---|---|---|---|
broadcaster | UserIdResolvable A user ID or a user or channel object. This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name. Aliased type: string | number | UserIdResolvableType | none | none |
Return type: HelixGoal[]