<center> ![](https://i.imgur.com/ao1t2qN.png) <br> <sup> https://github.com/amosbastian/fpl </sup> </center> ### What is **fpl**? It's a Python wrapper for the [Fantasy Premier League](https://fantasy.premierleague.com/), which is a fantasy football game - "a game in which participants assemble an imaginary team of real life footballers and score points based on those players' actual statistical performance or their perceived contribution on the field of play. " At the time of writing this post there are more than 6 million teams entered, which includes loads of people on Steem who are participating in Steem's very own league (see [here](https://steemit.com/premierleague/@acidyo/4egmxy-steem-fantasy-premier-league-gameweek-1-preview)). --- ### Update The 2019/2020 season of the Premier League started a while ago. With this they decided to change a lot of the endpoints of their API, and also what the endpoints actually return for some reason. Because of this I had to change quite a lot to get everything back in working fashion, but I think everything should be working properly with version 0.6.8 (as long as they don't keep changing things)! On a side note: the package has hit 50 stars, which makes me very proud, and the [Discord server](https://discord.gg/cjY37fv) has reached ~80 users! Don't hesitate to give the project a star yourself and join the discussion on Discord! ### Usage & installation The recommended way to install fpl is via ``pip``. pip install fpl To install it directly from GitHub you can do the following: git clone git://github.com/amosbastian/fpl.git You can also install a [.tar file](https://github.com/requests/requests/tarball/master) or [.zip file](https://github.com/requests/requests/tarball/master) $ 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 `pip`:: $ cd fpl $ pip install . ## Contributing 1. Fork the repository on GitHub. 2. 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 [amosbastian@gmail.com](mailto:amosbastian@gmail.com>). 3. Either create your feature and then write tests for it, or do this the other way around. 4. Run all tests again with with `pytest tests/` to confirm that everything still passes, including your newly added test(s). 5. Create a pull request for the main repository's ``master`` branch. For more information on how to contribute to **fpl** see [the contributing guide](https://fpl.readthedocs.io/en/latest/contributing/contributing.html). ## Documentation Documentation and examples for **fpl** can be found at http://fpl.readthedocs.io/en/latest/.
post_id | 79,218,739 |
---|---|
author | amosbastian |
permlink | python-package-fpl-now-updated-for-2019-2020-season |
category | fpl |
json_metadata | {"tags":["fpl","premierleague","sfpl","fantasy","football"],"image":["https:\/\/i.imgur.com\/ao1t2qN.png"],"links":["https:\/\/github.com\/amosbastian\/fpl","https:\/\/fantasy.premierleague.com\/","https:\/\/steemit.com\/premierleague\/@acidyo\/4egmxy-steem-fantasy-premier-league-gameweek-1-preview","https:\/\/discord.gg\/cjY37fv","https:\/\/github.com\/requests\/requests\/tarball\/master","mailto:amosbastian@gmail.com>","https:\/\/fpl.readthedocs.io\/en\/latest\/contributing\/contributing.html","http:\/\/fpl.readthedocs.io\/en\/latest\/"],"app":"steemit\/0.1","format":"markdown"} |
created | 2019-08-19 15:14:12 |
last_update | 2019-08-19 15:14:12 |
depth | 0 |
children | 4 |
net_rshares | 2,334,886,251,602 |
last_payout | 2019-08-26 15:14:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.596 SBD |
curator_payout_value | 0.143 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 2,972 |
author_reputation | 174,225,255,912,876 |
root_title | "Python package fpl now updated for 2019/2020 season!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
rufans | 0 | 21,798,917,963 | 100% | ||
jamzed | 0 | 99,750,741,014 | 100% | ||
dimitrisp | 0 | 9,756,587,273 | 25% | ||
fortune-master | 0 | 4,487,129,014 | 100% | ||
roxane | 0 | 1,058,940,465,173 | 50% | ||
helgapn | 0 | 5,665,870,314 | 100% | ||
gregory.latinier | 0 | 879,206,020 | 100% | ||
floatinglin | 0 | 2,333,432,355 | 100% | ||
accelerator | 0 | 28,681,608,346 | 0.91% | ||
piaristmonk | 0 | 27,531,719,949 | 100% | ||
espoem | 0 | 247,204,607,169 | 100% | ||
steem-plus | 0 | 633,363,738 | 0.04% | ||
pataty69 | 0 | 16,364,801,021 | 25% | ||
emrebeyler | 0 | 703,632,889,689 | 100% | ||
ajayyy | 0 | 2,685,102,935 | 100% | ||
portugalcoin | 0 | 11,843,770,046 | 15% | ||
marc-allaria | 0 | 3,368,845,875 | 10% | ||
sargoon | 0 | 10,972,470,340 | 100% | ||
snackaholic | 0 | 22,372,665,265 | 50% | ||
sttest1 | 0 | 76,049,145 | 100% | ||
sttest2 | 0 | 74,371,266 | 100% | ||
zcool | 0 | 190,007,422 | 10% | ||
jacksartori | 0 | 122,964,706 | 29% | ||
ayay | 0 | 130,617,595 | 11% | ||
enlighted | 0 | 83,991,702 | 25% | ||
steemconductor | 0 | 41,863,786,718 | 100% | ||
verifyme | 0 | 676,022,433 | 10% | ||
tbtek | 0 | 77,227,927 | 25% | ||
mops2e | 0 | 1,243,998,146 | 80% | ||
ceruleanblue | 0 | 414,738,140 | 100% | ||
munhenhos | 0 | 1,831,800,078 | 25% | ||
laissez-faire | 0 | 14,604,326 | 100% | ||
bhaski | 0 | 2,032,751,783 | 25% | ||
maesha | 0 | 73,344,428 | 25% | ||
alvinvoo | 0 | 70,430,484 | 100% | ||
phatima | 0 | 230,620,022 | 7% | ||
hamsa.quality | 0 | 552,422,384 | 7% | ||
knifer | 0 | 557,761,362 | 100% | ||
superbouncer | 0 | 271,498,343 | 100% | ||
bazookaguy | 0 | 262,654,198 | 100% | ||
kgdruglords | 0 | 1,023,181,352 | 50% | ||
map10k | 0 | 4,107,214,143 | 1.18% | ||
sospicy | 0 | 0 | -10% |
Hi, @amosbastian! You just got a **0.04%** upvote from SteemPlus! To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn. If you're not using SteemPlus yet, please check our last posts in [here](https://steemit.com/@steem-plus) to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
post_id | 79,228,453 |
---|---|
author | steem-plus |
permlink | python-package-fpl-now-updated-for-2019-2020-season---vote-steemplus |
category | fpl |
json_metadata | {} |
created | 2019-08-19 20:56:06 |
last_update | 2019-08-19 20:56:06 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-08-26 20:56:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 438 |
author_reputation | 247,995,867,762,997 |
root_title | "Python package fpl now updated for 2019/2020 season!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
@amosbastian You have received a 100% upvote from @steemconductor because this post did not use any bidbots and you have not used bidbots in the last 30 days! Upvoting this comment will help keep this service running.
post_id | 79,259,806 |
---|---|
author | verifyme |
permlink | re-python-package-fpl-now-updated-for-2019-2020-season-amosbastian-verifyme-randomvote |
category | fpl |
json_metadata | {"tags":["verifyme","random-upvote"],"users":["amosbastian","steemconductor"],"app":"null\/null","format":"markdown"} |
created | 2019-08-20 16:06:42 |
last_update | 2019-08-20 16:06:42 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-08-27 18:47:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 220 |
author_reputation | -704,332,579,924 |
root_title | "Python package fpl now updated for 2019/2020 season!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Congratulations @amosbastian! You received a personal award! <table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@amosbastian/birthday2.png</td><td>Happy Birthday! - You are on the Steem blockchain for 2 years!</td></tr></table> <sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@amosbastian) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=amosbastian)_</sub> ###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
post_id | 82,370,487 |
---|---|
author | steemitboard |
permlink | steemitboard-notify-amosbastian-20191207t230402000z |
category | fpl |
json_metadata | {"image":["https:\/\/steemitboard.com\/img\/notify.png"]} |
created | 2019-12-07 23:04:03 |
last_update | 2019-12-07 23:04:03 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-12-14 23:04:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 632 |
author_reputation | 38,705,954,145,809 |
root_title | "Python package fpl now updated for 2019/2020 season!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
<center>[![](https://steemitimages.com/175x175/http://steemitboard.com/@amosbastian/level.png?201912080035)](https://steemitboard.com/@amosbastian) <center>@amosbastian, sorry to see you have less Steem Power. Your level lowered and you are now a **Red Fish**!</center> ###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
post_id | 82,372,411 |
---|---|
author | steemitboard |
permlink | steemitboard-notify-amosbastian-20191208t005605000z |
category | fpl |
json_metadata | {"image":["https:\/\/steemitboard.com\/img\/notify.png"]} |
created | 2019-12-08 00:56:06 |
last_update | 2019-12-08 00:56:06 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-12-15 00:56:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 448 |
author_reputation | 38,705,954,145,809 |
root_title | "Python package fpl now updated for 2019/2020 season!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |