source
fetch_all_players
fetch_all_players ()
Fetches all players in the rugbypy manifest file.
| 0 |
9f0d99ce |
Morgan Morris |
| 1 |
e31a204b |
James Ratti |
| 2 |
b1d2895a |
Max Nagy |
| 3 |
25bfea05 |
Daniel Kasende |
| 4 |
24717f78 |
Jac Morgan |
| ... |
... |
... |
| 8439 |
b4a9513f |
Paul Mullen |
| 8440 |
edf9d7e1 |
Tom Baraer |
| 8441 |
da8da81b |
Nathan Van de Ven |
| 8442 |
d5c9a047 |
Nicolas Gali |
| 8443 |
3834ffae |
Nicholas Muli |
8444 rows × 2 columns
source
fetch_player_id
fetch_player_id (name:str)
Uses a similarity tool to fetch a players id
name:str the name of the rugby player you wish to fetch the id for.
return
fetch_player_id("jac morgan")
| 4 |
24717f78 |
Jac Morgan |
| 3518 |
2c8b48a5 |
Francesco Braga |
| 5860 |
e387e07f |
Franco Lamanna |
source
fetch_player_stats
fetch_player_stats (player_id:str, date:Optional[str]=None)
Fetches all player stats for a particular player or if a date is passed (YYYYMMDD) then just for a particular game.
player_id:str the player id of a particular player.
date:Optional=None the date of a particular match you wish to fetch the player stats for.
return
fetch_player_stats(player_id="24717f78")
Fetching all player stats for player_id: 24717f78...
| 0 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
blindside_flanker |
9.0 |
0.0 |
19.0 |
0.0 |
0.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 1 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
blindside_flanker |
11.0 |
0.0 |
12.0 |
1.0 |
1.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 2 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
openside_flanker |
10.0 |
0.0 |
30.0 |
0.0 |
2.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 3 |
24717f78 |
Jac Morgan |
Wales |
b6319444 |
flanker |
15.0 |
1.0 |
NaN |
NaN |
NaN |
... |
1.0 |
0.0 |
0.0 |
12.0 |
15.0 |
21.0 |
0.0 |
0.0 |
2.0 |
3.0 |
| 4 |
24717f78 |
Jac Morgan |
Wales |
b6319444 |
flanker |
8.0 |
0.0 |
NaN |
NaN |
NaN |
... |
0.0 |
0.0 |
0.0 |
7.0 |
8.0 |
13.0 |
0.0 |
0.0 |
1.0 |
1.0 |
| ... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
| 67 |
24717f78 |
Jac Morgan |
Wales |
b6319444 |
openside_flanker |
14.0 |
0.0 |
27.0 |
0.0 |
1.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 68 |
24717f78 |
Jac Morgan |
Wales |
b6319444 |
openside_flanker |
11.0 |
0.0 |
28.0 |
0.0 |
1.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 69 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
number_eight |
13.0 |
1.0 |
12.0 |
0.0 |
3.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 70 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
openside_flanker |
9.0 |
0.0 |
11.0 |
0.0 |
2.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
| 71 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
blindside_flanker |
14.0 |
0.0 |
12.0 |
0.0 |
4.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
72 rows × 54 columns
fetch_player_stats(player_id="24717f78", date="20250101")
Fetching player stats for player_id: 24717f78 on date: 20250101...
| 0 |
24717f78 |
Jac Morgan |
Ospreys |
5fa975a5 |
blindside_flanker |
9.0 |
0.0 |
19.0 |
0.0 |
0.0 |
... |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
NaN |
1 rows × 54 columns