from fundata.request import ApiClient
from fundata.client import init_api_client
from fundata.dota2.match import get_batch_basic_info


print(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))


def test(public_key, secret_key):
    # 用 public key，secret key 来初始化 client
    client = ApiClient(public_key, secret_key)

    # 准备 API 需要的参数