Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xmistt/rebootpy/llms.txt
Use this file to discover all available pages before exploring further.
StatsV2
Represents a user’s Battle Royale stats on Fortnite.Properties
user
Type:User
The user these stats belong to.
start_time
Type:datetime.datetime
The UTC start time of the stats retrieved.
end_time
Type:datetime.datetime
The UTC end time of the stats retrieved.
raw
Type:dict
The raw stats data.
Methods
get_stats
dict- Mapping of the user’s stats. All stats are mapped to their respective gamemodes.
get_combined_stats
platforms(bool) -Trueif the combined stats should be mapped to their respective platform.Falseto return all stats combined across platforms. Defaults toTrue.
dict- Mapping of the user’s stats combined. All stats are added together and no longer sorted into their respective gamemodes.
get_kd
data(dict) - A dict which at least includes the keys:kills,matchesplayed, andwins.
float- Returns the K/D with a decimal point accuracy of two.
get_winpercentage
data(dict) - A dict which at least includes the keys:matchesplayedandwins.
float- Returns the win percentage with a decimal point accuracy of two.
create_stat
stat(str) - The stat name (e.g., ‘kills’, ‘wins’).input(V2Input) - The input type.playlist(str) - The playlist name.
str- The formatted stat key.
StatsCollection
Represents a user’s Battle Royale stats collection on Fortnite.Properties
user
Type:User
The user this collection belongs to.
start_time
Type:datetime.datetime
The UTC start time of the stats retrieved.
end_time
Type:datetime.datetime
The UTC end time of the stats retrieved.
name
Type:str
The collection name.
raw
Type:dict
The raw collection data.
Methods
get_stats
dict- Mapping of the user’s collection.