-
Notifications
You must be signed in to change notification settings - Fork 76
Add stats #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add stats #125
Changes from 12 commits
fdac35b
c18630c
b2b982c
c551b9a
49d8e22
ef21133
3b8fc0a
930f14b
8f84332
b2f53c1
b6fc303
0ae039e
26022ce
45cdb7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wouldn't leaving out the i think it should also be documented what format those numbers have |
||
|
||
``owners``: array of account ids (to get the stats from) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`` (I think ONLY those work!) | ||
ILYAGVC marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
- `accountId`: target account id |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. stats could be any stats key. you should probably put in a placeholder value and document it below |
||
} | ||
``` | ||
|
||
## Parameters | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
- `owners`: Array of every Account Id to query | ||
- `accountId`: Array of every Stat to query |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think i would merge this with the regular stats bulk endpoint, with
category
as an optional query param