使用get_account_资金贝菲尔.py包装

2024-06-28 20:07:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试在贝菲尔.py{在^ a1}提供。在自述文件中,有一个示例代码使用list_event_types方法,这对我来说运行得很好,所以我的身份验证运行得很好。但是,当我尝试:

from betfair.models import AccountFundsResponse
client.get_account_funds()

一堆错误被抛出,以apieror结尾:不知道。是吗有人知道如何克服这个错误吗?顶线错误似乎与:

^{pr2}$

其次是:

    454             'getAccountFunds',
    455             utils.get_kwargs(locals()),
--> 456             model=models.AccountFundsResponse,
    457         )

Tags: 方法代码frompy身份验证event示例get