MoSe wrote: ↑23 Sep 2017, 11:46
For API reference....
and from nickchild's script topic....
I wanted to get back on that, as sometime before the new season, all the FPL 17/18 fantasy.premierleague.com/drf/ data won't be available anymore
Dunno whether someone already had the idea to store it
this is not for sidegames purpose of course, but we often see someone inquiring for previous seasons data
if not for 6M FPL Teams, it could be done for 650-ish players
elements lists all FPL players, but only reports their season totals for the scoring items
event/<GW>/live reports all players GW detailed scoring items
FPL 1718 event 38 live.png
it's handy as it's "only" 38 files to store, 1 per GW, did it manually and zippd'em together
FPL 1718 drf event 1-38 live.zip
also parsed GW1 data
using excel formulas only (the linked script by Kristian Carter is bugged (repeats data in multiple rows) and I can't debug it)
https://docs.google.com/spreadsheets/d/ ... OUuAhGjrtI
alas, in DGW the event/GW api only has one record for a doubler, merging the items from the two matches
another API where to find detailed scoring item data for each player for each GW i.e. single games, would be
element-summary/<playerID>
the ID can be looked up in the complete Elements API, 394 in the pic below is Kane
FPL 1718 element summary 394 kane.gif
Alas, I'd have to manually change that ID in the URL, and store 650 files one by one. That's a bit beyond even my own crazyness.
I wonder if some kind volunteer with coding ability would write a few simple lines like
for PlayerID from 1 to 647
append element-summary/PlayerID to AsingleBigFile
(actually, only the "history" section would do, not the previous 5, but that would require opening each file...?)
this way we would have a single data source "by game by player" which anyone could use by his skills and purpose
for instance (as blah pointed me out) to produce something like
Bramernic site for TFF:
https://fantasysports.org.uk/tff2017-2018/points.php
You do not have the required permissions to view the files attached to this post.