def team_fixtures(id, opts={})
      raise IdMissingError, 'missing id' if id.nil?

      season      = opts[:season]
      time_frame  = opts[:time_frame]
      venue       = opts[:venue]

      uri = "teams/#{id}/fixtures/"
      url = season.nil? ? uri : "#{uri}?season=#{season}"
      url = time_frame.nil? ? url : "#{url}?timeFrame=#{time_frame}"
      url = venue.nil? ? url : "#{url}?venue=#{venue}"

      json_response get(url)
    end
def team_fixtures(id, opts={})
      raise IdMissingError, 'missing id' if id.nil?

      season      = opts[:season]
      time_frame  = opts[:time_frame]
      venue       = opts[:venue]

      uri = "teams/#{id}/fixtures/"
      url = season.nil? ? uri : "#{uri}?season=#{season}"
      url = time_frame.nil? ? url : "#{url}?timeFrame=#{time_frame}"
      url = venue.nil? ? url : "#{url}?venue=#{venue}"

      json_response get(url)
    end
Show all fixtures for a certain team.
 Filters:

 season=/\d\d\d\d/
 time_frame=/p|n[1-9]{1,2}/
 venue=/home|away/