Comments (21)
I guess I can do that... but it needs upto 5 requests if you want the full stats. If you only want the operator stats it only takes one.
from rainbow-six-siege-player-stats-api.
What do you mean with "operator stats"?
Only playtime/win/lose/kill/death?
from rainbow-six-siege-player-stats-api.
Yes and gadget kills/uses/etc.
from rainbow-six-siege-player-stats-api.
Ohw i understood now, do as you more comfortable :)
from rainbow-six-siege-player-stats-api.
I can load all of this:
https://ubistatic-a.akamaihd.net/0058/prod/assets/data/operators.3a2655c8.json
(+ Kills etc. for each operator)
from rainbow-six-siege-player-stats-api.
Wow also with badges! Yeah
from rainbow-six-siege-player-stats-api.
And btw. stats don't show up if they are "0". So maybe you can request more then 19. Because I can request right now 44 stats per request.
from rainbow-six-siege-player-stats-api.
Mmmh i think there is a limit anyway i suggest you to keep 19...
from rainbow-six-siege-player-stats-api.
Okay. Basic info will be:
{
"capitao": {
"images": {
"badge": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/badge-capitao.6603e417.png",
"figure": {
"small": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/small-capitao.31c21fd0.png",
"large": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/large-capitao.984e75b7.png"
},
"mask": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/mask-capitao.f56d66af.png"
},
"index": "2:8",
"id": "capitao",
"category": "atk"
}
}
from rainbow-six-siege-player-stats-api.
Why operator name twice?
Maybe can be more useful operator ‘category’ (like FBI)
from rainbow-six-siege-player-stats-api.
Wait let me see.
I got this for now:
{
"players": {
"a39c7ad5-3282-467c-bc85-f65b0e61cde4": {
"capitao": {
"operatorpvp_roundlost": 0,
"operatorpvp_death": 0,
"operatorpvp_roundwon": 0,
"operatorpvp_kills": 0,
"operatorpvp_timeplayed": 0,
"operatorpvp_capitao_lethaldartkills": 0,
"operatorpve_capitao_lethaldartkills": 0
},
"profile_id": "a39c7ad5-3282-467c-bc85-f65b0e61cde4",
"nickname": "AE_SeemsLegit",
"platform": "uplay"
}
},
"operators": {
"lesion": {
"images": {
"badge": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/badge-lesion.07c3d352.png",
"figure": {
"small": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/small-lesion.8165c6b9.png",
"large": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/large-lesion.d48d6d33.png"
},
"mask": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/mask-lesion.576ad9e4.png"
},
"category": "def",
"index": "3:B",
"id": "lesion"
}
}
}
from rainbow-six-siege-player-stats-api.
In the JSON I send you is no FBI etc. so I have to add it manually...
from rainbow-six-siege-player-stats-api.
If you want you can send me a JSON Object (e.g. {"lesion": "SDU" ....}) then I can add it 👍 :)
from rainbow-six-siege-player-stats-api.
Done: https://pastebin.com/qBiS16yr ;)
But, if you will add operator stats, why not put operators object inside players[player_id] object? So it works with multiple players...
from rainbow-six-siege-player-stats-api.
Nice 🥇 ! I'll add it.
from rainbow-six-siege-player-stats-api.
And it works with multiple players I put the operators outside because of the size. I didn't want to paste the images to every player.
from rainbow-six-siege-player-stats-api.
{
"players": {
"a39c7ad5-3282-467c-bc85-f65b0e61cde4": {
"capitao": {
"operatorpvp_roundlost": 0,
"operatorpvp_death": 0,
"operatorpvp_roundwon": 0,
"operatorpvp_kills": 0,
"operatorpvp_timeplayed": 0,
"operatorpvp_capitao_lethaldartkills": 0,
"operatorpve_capitao_lethaldartkills": 0
},
"zofia": {
"operatorpvp_roundlost": 14,
"operatorpvp_death": 22,
"operatorpvp_roundwon": 16,
"operatorpvp_kills": 18,
"operatorpvp_timeplayed": 5615,
"operatorpvp_concussiongrenade_detonate": 52,
"operatorpve_concussiongrenade_detonate": 0
},
"profile_id": "a39c7ad5-3282-467c-bc85-f65b0e61cde4",
"nickname": "AE_SeemsLegit",
"platform": "uplay"
}
},
"operators": {
"capitao": {
"images": {
"badge": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/badge-capitao.6603e417.png",
"figure": {
"small": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/small-capitao.31c21fd0.png",
"large": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/large-capitao.984e75b7.png"
},
"mask": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/mask-capitao.f56d66af.png"
},
"category": "atk",
"index": "2:8",
"id": "capitao",
"organisation": "BOPE",
"name": "Capitão"
},
"zofia": {
"images": {
"badge": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/badge-zofia.2a892bf5.png",
"figure": {
"small": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/small-zofia.28fa7ba7.png",
"large": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/large-zofia.f9f7568b.png"
},
"mask": "https://ubistatic-a.akamaihd.net/0058/prod/assets/images/mask-zofia.29e5102f.png"
},
"category": "atk",
"index": "3:C",
"id": "zofia",
"organisation": "GROM",
"name": "Zofia"
}
}
}
from rainbow-six-siege-player-stats-api.
Nice ;)
And for operators stats?
from rainbow-six-siege-player-stats-api.
What do you mean?
from rainbow-six-siege-player-stats-api.
Nothing i saw wrong.
Maybe i have written all operator in one object instead of split operators name/pic and stats, but is fine :)
from rainbow-six-siege-player-stats-api.
It works all perfectly ;)
from rainbow-six-siege-player-stats-api.
Related Issues (20)
- &season= parameter for getStats.php
- GET Rank API call gives 404 error HOT 6
- getUser.php returning default values when season parameter is < 18 HOT 12
- Error 403 Forbidden HOT 16
- getOperators doesn't work HOT 9
- {error:true} ? HOT 2
- "User not found!" error sometimes when the user does exist. HOT 4
- Aruni + Zero stats in getStats.php HOT 4
- Help HOT 1
- Operator API offline? HOT 4
- not responding with stats HOT 2
- Loading all seasons at once HOT 1
- [Not Issue] Question about operator indexes HOT 4
- Endpoint for Username Alias History HOT 2
- Any idea why op stats & overall stats not updating lately? HOT 18
- HELP WANTED – Endpoint for Ranked 2.0 & Operation: Solar Raid HOT 27
- Op Stats for Ranked 2.0 (Y7S4+) HOT 2
- [HELP WANTED] New lifetime stats endpoint HOT 1
- Y8S3 Heavy Mettle Ranked Stats HOT 6
- HTTP 401 on old "seasons" endpoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rainbow-six-siege-player-stats-api.