Get current active team name and link from a spesific channel

The link you should be using is this:

https://api.twitch.tv/kraken/teams

Look over this doc:

https://github.com/justintv/Twitch-API/blob/master/v3_resources/teams.md

For a users teams, use this:

https://api.twitch.tv/kraken/channels/lirik/teams (note that there’s no trailing /)

Also, not sure why you’re specifying the team as being in (message data) (links) (self) (teams) (links) (displayname), just take the top level object, look at ‘teams’, ‘name’

  • Links
    – Self
  • Teams
    – _id
    – name
    – info
    – display_name
    – created_at
    – updated_at
    – logo
    – banner