我正在尝试使用 fixer.io API,但我不明白如何提交我的访问密钥!
我一直在尝试使用这些代码片段:https ://pypi.org/project/fixerio/
例如:
from fixerio import Fixerio
fxrio = Fixerio()
fxrio.latest()
但后来我收到:
404 Client Error: Not Found for url: http://api.fixer.io/latest
我也尝试了这里找到的例子:http: //fixerio.readthedocs.io/en/latest/
from fixerio import Fixerio
fxrio = Fixerio(access_key='513eb....')
fxrio.latest()
但没有 kwarg“access_key”。唯一的 kwarg 是 base、symbols 和 secure。
最后我也尝试编辑我的client.py(没有成功),但我认为这是错误的。
我使用的是 0.1.1 版
感谢您的支持!