def get_ball_by_ball(self, match_key, over_key=None):
        """
        match_key: key of the match
        over_key : key of the over
    
        Return:
           json data:    
        """

        if over_key:
            ball_by_ball_url = "{base_path}match/{match_key}/balls/{over_key}/".format(base_path=self.api_path, match_key=match_key, over_key=over_key)
        else:
            ball_by_ball_url = "{base_path}match/{match_key}/balls/".format(base_path=self.api_path, match_key=match_key)
        response = self.get_response(ball_by_ball_url)
        return response
def get_ball_by_ball ( self , match_key , over_key = None ) : if over_key : ball_by_ball_url = "{base_path}match/{match_key}/balls/{over_key}/" . format ( base_path = self . api_path , match_key = match_key , over_key = over_key ) else : ball_by_ball_url = "{base_path}match/{match_key}/balls/" . format ( base_path = self . api_path , match_key = match_key ) response = self . get_response ( ball_by_ball_url ) return response
match_key: key of the match
        over_key : key of the over
    
        Return:
           json data: