diff --git a/docs/account/stats/CollectionStats.md b/docs/account/stats/CollectionStats.md new file mode 100644 index 0000000..28bce21 --- /dev/null +++ b/docs/account/stats/CollectionStats.md @@ -0,0 +1,27 @@ +## User Collection Stats (BULK) + +## Request +| URL | Method | Auth Required | +| - | - | - | +| https://statsproxy-public-service-live.ol.epicgames.com/statsproxy/api/statsv2/query | `POST` | Yes | + +### Query + +**category**: `collection_fish`, `collection_character` + +## Body + +```json +{ + "appId": "Fortnite", + "startDate": 0, + "endDate": 9223372036854775807, + "owners": [] +} +``` + +``startDate``: 0 (for alltime) or set for custom time-window + +``endDate``: 9223372036854775807 (for alltime) or set for custom time-window + +``owners``: array of account ids (to get the stats from) diff --git a/docs/account/stats/Leaderboard.md b/docs/account/stats/Leaderboard.md new file mode 100644 index 0000000..21b70a5 --- /dev/null +++ b/docs/account/stats/Leaderboard.md @@ -0,0 +1,14 @@ +# Leaderboard status + +## Request +| URL | Method | Auth Required | +| - | - | - | +| https://statsproxy-public-service-live.ol.epicgames.com/statsproxy/api/statsv2/leaderboards/:leaderboardName | `GET` | Yes | + + +**leaderboardName**: +``br_placetop1_keyboardmouse_m0_playlist_defaultsolo`` + +``br_placetop1_keyboardmouse_m0_playlist_defaultduo`` + +``br_placetop1_keyboardmouse_m0_playlist_defaultsquad`` diff --git a/docs/account/stats/StatsV2.md b/docs/account/stats/StatsV2.md new file mode 100644 index 0000000..0bdb890 --- /dev/null +++ b/docs/account/stats/StatsV2.md @@ -0,0 +1,9 @@ +# User Stats + +## Request +| URL | Method | Auth Required | +| - | - | - | +| https://statsproxy-public-service-live.ol.epicgames.com/statsproxy/api/statsv2/account/:accountId | `GET` | Yes | + +## Parameters +- `accountId`: target account id diff --git a/docs/account/stats/StatsV2Bulk.md b/docs/account/stats/StatsV2Bulk.md new file mode 100644 index 0000000..f64dae8 --- /dev/null +++ b/docs/account/stats/StatsV2Bulk.md @@ -0,0 +1,20 @@ +# User Stats + +## Request +| URL | Method | Auth Required | +| - | - | - | +| https://statsproxy-public-service-live.ol.epicgames.com/statsproxy/api/statsv2/query | `POST` | Yes | + +```json +{ + "appId": "Fortnite", + "startDate": 0, + "endDate": 9223372036854775807, + "owners": ["accountId"], + "stats": ["s22_social_bp_level"] +} +``` + +## Parameters +- `owners`: Array of every Account Id to query +- `accountId`: Array of every Stat to query