<commit_before>require 'opta/api'

module Opta
  module Baseball
    class BaseballApi < Opta::Api

      def path
        'baseballdata'
      end

    end
  end
end<commit_msg>adjustments baseball<commit_after>require 'opta/api'

module Opta
  module Baseball
    class BaseballApi < Opta::Api

      def squads(tournament)
        response_collection('squads', tmcl: tournament, _pgSz: 1000)
      end

      def match_list(tournament)
        response_pages('match', tmcl: tournament)
      end

      def match_statistics(match)
        resp = response_member('matchstats', match)
        resp['matchStats']
      end

      def path
        'baseballdata'
      end

    end
  end
end
{'fraction_non_alphanumeric': 0.07536231884057971, 'fraction_numerical': 0.005797101449275362, 'mean_word_length': 2.472361809045226, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7037963', 'n_tokens_mistral': 227, 'n_tokens_neox': 210, 'n_words': 53}