You can access data from the Squiggle API directly with the
fetch_squiggle_data. This allows direct access to the Squiggle API.
Note that we also provide some helper functions that map more closely to our
fetch_ functions such as
Full instructions for constructing queries can be found at Squiggle API. One of the following must be provided to the
teams- Info about teams (e.g. Richmond, Geelong, West Coast)
games- Info about games (e.g. Round 1, 2019 Richmond v Carlton)
sources- Info about models (e.g. Matter of Stats, GRAFT, Swinburne)
tips- Info about tips and predictions made by models
standings- Info about team standings (i.e. the ladder)
ladder- Info about predicted ladders generated by models
virtual- Info about Virtually Season 2020
pav- Info about Player Approximate Value from HPN Footy
Optional arguments can then be supplied based on the query.
games takes the following optional arguments. *
year - Year *
round - Round *
game - Game ID *
complete - Percent of game complete
These can be supplied as named arguments after the query. For example, to return games from just 2020, we would use the following.
Fetch info about one or more computer models.
Fetch info about one or more tips made by computer models.
We can just look at one particular round.
Fetch info about team standings at a point in time, i.e. the ladder.
Fetch info about one or more projected ladders generated by computer models. For the actual ladder, see standings instead.