Overview
Methods
Can be accessed using client.helix.teams
on an
ApiClient
instance.
Example
const api = new ApiClient(new StaticAuthProvider(clientId, accessToken));
const tags = await api.helix.teams.getChannelTeams('125328655');
Methods
getTeamById(id)
asyncRetrieves a team by ID.
Returns null if there is no team with the given ID.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
id | string | none | The ID of the team. |
Return type:
HelixTeamWithUsers
|
null
getTeamByName(name)
asyncRetrieves a team by name.
Returns null if there is no team with the given name.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
name | string | none | The name of the team. |
Return type:
HelixTeamWithUsers
|
null