Wonkymuffin wrote: ↑Mon Mar 08, 2021 9:53 amThe work you have done so far with the scores is working brilliantly for me. My comment was in relation to the in-play stats from Sofascore as you had previously mentioned that it would be easy (well for you anyway!) to add these in to the csv. Thanks again.
I'm afraid I've had to time lately. In the middle of moving house so all over the place
It's worth doing some reading on the Auto-It forum - some good examples in those threads I linked. Definitely preferable to pick up the skills yourself then you can pull data down for any sport you like
Try using the existing script and the Json_Dump() function I've mentioned previously and that will give you an idea of how the json notation works, then it's just a case of adding additional lines to pull the values you are after.
As a hint, the stats are on an additional URL, which you can create from the JSON containing the current scores. Put a link/Json_Get to that in the existing score loop and you can then grab all the stats you like
Starter for 10:
$URL = "https://api.sofascore.com/api/v1/event/" & Json_Get($object, '.events' & '[' & $i & '].id') & "/statistics"