INSTRUCTIONS
Step 1 create a folder called Scores in C drive (or anywhere but as long as the $filesavepath points to it, see SET LOCAL FILEPATH) Step 2 open power shell as admin Step 3 Enter the following command (without the symbol) press enter
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy unrestricted -Force Step 4 Run this script with the format poolstat_api.ps1 compid1 matchid1 [compid2 matchid2] Matchid can be a 2-3 digit match reference or a 7 digit drawId. both matchid must be the same format. Example .\poolstat_api.ps1 7011 45 or .\poolstat_api.ps1 7011 100570
Step 6 open the Scores folder and you should see all the text files created, then reference these in stream software. Final step When finished for the day enter the following command before closing powershell Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy restricted