Fortnite-API / py-wrapper

Python implementation for https://fortnite-api.com
https://fortnite-api.rtfd.org/en/latest
MIT License
40 stars 17 forks source link

http.py get_br_stats params #24

Closed osotelo closed 1 month ago

osotelo commented 1 month ago

Given i make a fetch_br_stats request AND pass the optional parameter time_window=TimeWindow.SEASON When the request is executed Then i see lifetime data in the response

Expected: I should see only the current season data.

my workaround: edit the http.py get_br_stats method, line 332 'time_window key to 'timeWindow' That fixed my issue. I have not confirmed with get_br_stats_by_id.

Screenshot 2024-09-08 at 2 38 46 PM
Luc1412 commented 1 month ago

Thanks for reporting. Has been fixed with f766c6fc76f268af286361ea36eb49786f15afe4