A Python wrapper for the Fantasy Premier League API
The recommended way to install fpl is via
pip install fpl
To install it directly from GitHub you can do the following:
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
Once it has been downloaded you can easily install it using
cd fpl pip install .
- Fork the repository on GitHub.
- Create a
credentials.cfgfile with your FPL login and password (see example).
- Run the tests with
pytest tests/to confirm they all pass on your system. If the tests fail, then try and find out why this is happening. If you aren't able to do this yourself, then don't hesitate to either create an issue on GitHub, contact me on Discord or send an email to email@example.com.
- Either create your feature and then write tests for it, or do this the other way around.
- Run all tests again with with
pytest tests/to confirm that everything still passes, including your newly added test(s).
- Create a pull request for the main repository's
For more information on how to contribute to fpl see the contributing guide.
Documentation and examples for fpl can be found at http://fpl.readthedocs.io/en/latest/.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.