Content
@
https://opensea.io/collection/soccer-19
0 reply
0 recast
0 reaction
ash
@ashmoney.eth
$noice x /football FPL weekly prizes have been paid to the GW7 players that scored the most gw points: š„ @victhorious - 99 points š„ @kazani.eth - 98 points Each player won $10 in rewards. Congrats and gg! There's another $20 up for grabs in GW8... should you can make the right moves with your team š¤ ā½ thanks to @acgk.eth & @kmacb.eth for the work they do on managing the data!
14 replies
3 recasts
35 reactions
Utility!š¤«
@utility1
How do these guys do it
1 reply
0 recast
1 reaction
Carl Gustaf šØš¼āš»
@acgk.eth
We have a few snapshots that's taking between gameweeks which you can also find in the Season Games. But for a one GW solution like who gained most in GW7 it's easiest to pull data from the API https://fantasy.premierleague.com/api/leagues-classic/${args.leagueId}/standings/?page_standings=${standingsPage}` Where ${args.leagueId} is the league ID to Farcaster Fantasy League & ${standingsPage} is pagination as the API utilizes that. So loop through it check the output and just check who gained the most event_total. Then we check who has signed up for FML as it's required to be eligible for rewards (so we have a check for that too). I'm pushing an update after international break that will give some more info how this works.
1 reply
1 recast
2 reactions
Utility!š¤«
@utility1
Uh thanks š
0 reply
0 recast
1 reaction