梦幻超级联赛api的python包装器
fpl的Python项目详细描述
加入Discord server或提交an issue以获取帮助和/或建议!
安装FPL
建议通过pip
安装fpl。
pip install fpl
要直接从github安装它,您可以执行以下操作:
git clone git://github.com/amosbastian/fpl.git
$ curl -OL https://github.com/amosbastian/fpl/tarball/master
$ curl -OL https://github.com/amosbastian/fpl/zipball/master # Windows
下载后,您可以使用pip
:
$ cd fpl
$ pip install .
贡献
- 在github上分叉存储库。
- 使用
pytest tests/
运行测试以确认它们都通过了您的系统。 如果测试失败,那么试着找出为什么会发生这种情况。如果你不是 你自己能做到,那就毫不犹豫地提出一个问题 Github,如果有不和谐,请与我联系,或者发送电子邮件到amosbastian@gmail.com。 - 要么创建功能,然后为其编写测试,要么另一个 到处都是。
- 使用
pytest tests/
再次运行所有测试以确认 仍然通过,包括新添加的测试。 - 为主存储库的
master
分支创建拉取请求。
有关如何为fpl贡献的详细信息,请参见the contributing guide。
文档
有关fpl的文档和示例可以在http://fpl.readthedocs.io/en/latest/找到。