This repository represents my interest in numbers, fantasy football and experimentation with languages I don't often use. I'll split the repository by language then by title. The whole thing is covered under a "do as you wish" license.
PSFPLInfo PowerShell Package Gallery.
This is a PowerShell module that scrapes the FPL website and generates objects that you can use. Usage is simple:
Install-Module -Name PSFPLInfo -Force;
Import-Module -Name PSFPLInfo -Force;
$session = Authenticate {your login e-mail} {your login password};
$league = Get-League {your mini league ID} $session;
$chart = Chart $league;
The three objects generated there are an FPL websession (used to allow you to scrap your mini-league data), a mini-league object (consisting of Manager, TeamName, TeamId, TeamValue and an array of GameWeekHistory) and a chart object. The chart object can be saved by calling:
$chart.SaveImage("somePath\someFile.png", "PNG");
This generates a line graph of the history of your mini-league rankings.
To come.