text: import os
  import unittest
  from sportradar import BeachVolleyball
  
  # Import API keys from environment variables
  api_key_name = "SPORTRADAR_API_KEY_BEACHVOLLEYBALL"
  api_key = os.environ.get(api_key_name, None)
  assert api_key is not None, "Must declare environment variable: {key_name}".format(
      key_name=api_key_name)
  api = BeachVolleyball.BeachVolleyball(api_key, format_="json", timeout=5, sleep_time=2)
  
  
  class TestAPI(unittest.TestCase):
  
      @classmethod
      def setUpClass(cls):
          print("\n---------------------\nSetting up {} tests...\n".format("BeachVolleyball"))
          cls.auth = api_key
          cls.api = api
          cls.competitor_id = "sr:competitor:151994"
          cls.year = 2018
          cls.month = 6
          cls.day = 1
          cls.competitor_id1 = "sr:competitor:151994"
          cls.competitor_id2 = "sr:competitor:128398"
          cls.match_id = "sr:match:9803091"
          cls.tournament_id = "sr:tournament:552"
  
      def test_get_competitor_profile(self):
          """Test the competitor profile GET query"""
          msg = "Response status is not 200"
          response = self.api.get_competitor_profile(self.competitor_id)
          self.assertEqual(response.status_code, 200, msg)
  
      def test_get_competitor_results(self):
          """Test the competitor results GET query"""
          msg = "Response status is not 200"
          response = self.api.get_competitor_results(self.competitor_id)
          self.assertEqual(response.status_code, 200, msg)
  
      # def test_get_competitor_schedule(self):
      #     """Test the competitor schedule GET query"""
      #     msg = "Response status is not 200"
      #     response = self.api.get_competitor_schedule(self.competitor_id)
      #     self.assertEqual(response.status_code, 200, msg)
  
      def test_get_daily_results(self):
          """Test the daily results GET query"""
          msg = "Response status is not 200"
          response = self.api.get_daily_results(self.year, self.month, self.day)
          self.assertEqual(response.status_code, 200, msg)
  
      def test_get_daily_schedule(self):
          """Test the daily schedule GET query"""
          msg = "Response status is not 200"
          response = self.api.get_daily_schedule(self.year, self.month, self.day)
          self.assertEqual(response.status_code, 200, msg)
  
      def test_get_head_to_head(self):
          """Test the head to head GET query"""
          msg = "Response status is not 200"
          response = self.api.get_head_to_head(self.competitor_id1, self.competitor_id2)
          self.assertEqual(response.status_code, 200, msg)
  
      # def test_get_live_schedule(self):
      #     """Test the live schedule GET query"""
      #     msg = "Response status is not 200"
      #     response = self.api.get_live_schedule()
      #     self.assertEqual(response.status_code, 200, msg)
  
      def test_get_sport_event_timeline(self):
          """Test the sport event timeline GET query"""
          msg = "Response status is not 200"
          response = self.api.get_sport_event_timeline(self.match_id)
          self.assertEqual(response.status_code, 200, msg)
  
      # def test_get_tournament_info(self):
      #     """Test the tournament info GET query"""
      #     msg = "Response status is not 200"
      #     response = self.api.get_tournament_info(self.tournament_id)
      #     self.assertEqual(response.status_code, 200, msg)
  
      def test_get_tournament_list(self):
          """Test the tournament list GET query"""
          msg = "Response status is not 200"
          response = self.api.get_tournament_list()
          self.assertEqual(response.status_code, 200, msg)
  
      # def test_get_live_standings(self):
      #     """Test the live standings GET query"""
      #     msg = "Response status is not 200"
      #     response = self.api.get_live_standings(self.tournament_id)
      #     self.assertEqual(response.status_code, 200, msg)
  
      def test_get_seasons(self):
          """Test the seasons GET query"""
          msg = "Response status is not 200"
          response = self.api.get_seasons(self.tournament_id)
          self.assertEqual(response.status_code, 200, msg)
  
      def test_get_tournament_results(self):
          """Test the tournament results GET query"""
          msg = "Response status is not 200"
          response = self.api.get_tournament_results(self.tournament_id)
          self.assertEqual(response.status_code, 200, msg)
  
      def test_get_tournament_schedule(self):
          """Test the tournament schedule GET query"""
          msg = "Response status is not 200"
          response = self.api.get_tournament_schedule(self.tournament_id)
          self.assertEqual(response.status_code, 200, msg)
  
      def test_get_tournament_standings(self):
          """Test the tournament standings GET query"""
          msg = "Response status is not 200"
          response = self.api.get_tournament_standings(self.tournament_id)
          self.assertEqual(response.status_code, 200, msg)
  