public function getTeams($params = [])
  {
      $defaults = [
          'limit'  => 25,
          'offset' => 0,
      ];

      return $this->wrapper->request('GET', 'teams', ['query' => $this->resolveOptions($params, $defaults)]);
  }
public function getTeams($params = [])
  {
      $defaults = [
          'limit'  => 25,
          'offset' => 0,
      ];

      return $this->wrapper->request('GET', 'teams', ['query' => $this->resolveOptions($params, $defaults)]);
  }
public function getTeams ( $ params = [ ] ) { $ defaults = [ 'limit' => 25 , 'offset' => 0 , ] ; return $ this -> wrapper -> request ( 'GET' , 'teams' , [ 'query' => $ this -> resolveOptions ( $ params , $ defaults ) ] ) ; }
Returns a list of active teams.

Learn more:
https://github.com/justintv/Twitch-API/blob/master/v3_resources/teams.md#get-teams

@param  array $params  Optiona params

@return array
Returns a list of active teams .