seems2legit / rainbow-six-siege-player-stats-api Goto Github PK
View Code? Open in Web Editor NEWPHP API which allows you to search players and get their R6 stats
License: Other
PHP API which allows you to search players and get their R6 stats
License: Other
In the link with all of the different possible stats, it's missing stats for many operators. Would it be possible for that to be updated?
More of a question than an issue. I'm new to GitHub and don't know how to message the developers. Is there a way to use the season parameter in the URL when making an api request for getStats.php? I'm looking for a way to see the stats of a player from a specific season. In addition, can the value be from 0-17, or 1-18, or what would it be?
I'm noticing that when the season parameter in the url is not 18 or 19, every value shows as 0, unranked, etc. Any known cause for this? Thanks.
The link in config.php which shows all available stats to request no longer exists. When clicking the link, it takes you to GitHub's error 404 page.
https://gist.github.com/LaxisB/3924cfdc35562b719d1c891cdb895366
Hi,
when i set default-progression = true in config file, progression fields not show, i only can add GET param to make it works.
Thanks
There's an index issue for operator cav. When api gets index it returns 1:8, but api gets value it returns 3:8
I have added support for platforms specification, perfectly backward compatible (99%).
If you are interested, how can you send the new code?
I hope to help someone with that improvement.
Example:
http://website.net/api/getStats.php?name=yyy&platform=psn&appcode=xxx
Thanks for reading :)
Hi, where can i obtain an appcode?
(New parameters, results changed for getUser.php & getStats.php)
Instead of returning nothing if a user doesn't exist, return an error message.
If you use getOperators Tachanka does not have a name set.
Hello, I'm using your Ubi API , but it seems to have a problem when login is called, i get an error 404 File or diretory not found.
The ressource you are looking for might have been removed, had its name changed, or its temporarily unavailable.
it seems the URL is no longer good and that Ubisoft is maybe changed this url can you please help me to correct this problem.
To add automatically new operators launch updateOperators.sh (or .bat) and insert this url:
https://game-rainbow6.ubi.com/assets/data/operators.682af7ce0969c4ec.json
Hope it helps!
I just recently got this running, and whenever I open the page, with app code and user id, its blank, with no data.
getSmallUser.php return's json format like this -
[
uid{
uid : id
nick : nickname
}
]
but the readme states that the data should be like this -
[
{
uid : id
nick : nickname
}
]
As a result I can't access the array when searched by nickname because uid itself is a variable.
How Can Get K/D and W/L ?
{
"player_profiles": [{
"xp": 5858,
"profile_id": "09ef2790-ee5a-4909-b9dc-4e4042dbed7d",
"lootbox_probability": 4150,
"level": 284
}]
}
First off, I'd like to thank you for working on this. It's nice to be able to host this on my own machine and not worry about rate limits.
I don't know if it's on your roadmap already, but the addition of kills and operator stats for both casual and ranked would be really nice to have.
Is there an updated version of: https://gist.github.com/sidelux/c2724e64acb7e1b8921c11572800f8d4
that includes stats for the ops Zero and Aruni?
hello, as the title suggest: php version doesn't work with spaced nicknames.
for example;
nickname: oa1907 (my psn account and it has no space)
url: getUser.php?appcode=test&platform=psn&name=oa1907
WORKS WELL
BUT
nickname: Search Meh Up
url: getUser.php?appcode=test&platform=xbl&name=SEARCH%20MEH%20UP
DOES NOT WORK!
"error":{"message":"User not found!"}}}}
Hi,
I would like to know how we can recover the Xbox avatar of the player visibly this is possible because tracker does it, but I do not understand how
there is an example of url :
https://avatar-xbl.tracker.gg/image.png?url=wHwbXKif8cus8csoZ03RWwcxuUQ9WVT6xh5XaeeZD02wEfGZeuD.XMoGFVYkwHDqZ7meh_qT0.q8jCBFEmlLUUycH0Fgde2AEzGFjbqn5TcoLxeC4UsCwD4SOvyj.Rc0cXyVE8atLZHaIv3L9EPZ68cGqoA9LskimlLUV.FrP1c-
Thank for your help :)
Probably can't reach the ubi servers, then can't find the players
Hey, I am a little confused about the installation. Any help?
Are there any online resources on how to use Ubisoft's API?
Because I tried implementing your code in Java and started with the login functionality, but the server always returns 400 (Bad Request). You can check out my code over at https://github.com/scrouthtv/R6StatsAPI.
I used your method to contact Ubi Servers and login (had to change something with the content length, but that should work). Do you have an idea, why your code works for me, but my implementation doesn't?
Thanks in advance.
i want get the avatar but i dont know how to modify the code :((
... operators":[]}
Upon making this GET request with all below headers:
66fcdb38-e7c2-45dd-a1c4-acbd7086d00f
spaceId is after basic auth Session call, which is owner here.
profile_ids is the otherProfile
profileId. Am I do it correct ?
https://public-ubiservices.ubi.com/v1/spaces/66fcdb38-e7c2-45dd-a1c4-acbd7086d00f/sandboxes/OSBOR_PC_LNCH_A/r6karma/players?board_id=pvp_ranked&season_id=-1&profile_ids=b5072e90-ad85-4bd8-9d18-e0bfe5f2aba5,®ion_id=apac
I get following error:
{
"errorCode": 1003,
"message": "Resource 'https://public-ubiservices.ubi.com/v1/spaces/66fcdb38-e7c2-45dd-a1c4-acbd7086d00f/sandboxes/OSBOR_PC_LNCH_A/r6karma/players' not found.",
"httpCode": 404,
"errorContext": "UbiServices.Gateway",
"moreInfo": "A link to more information will be coming soon. Please contact UbiServices for more support.",
"transactionTime": "2020-08-26T11:19:57Z",
"transactionId": "17724d77-2a2b-4da0-8cf3-aa2365b3683b"
}
i trying : &stats=ranked_pvp but is not working
"rankedpvp_matchwon":126,
"rankedpvp_kills":723,
"rankedpvp_death":773,
"rankedlpvp_matchlost":130,
"rankedpvp_matchplayed":256,
"rankedpvp_timeplayed":204662,
New JSON for organisation with Maverick and Clash:
Today i have received an error like this:
{
"message":"Too many calls per profile id: 40078dc7-5f24-49a6-ad27-070c9c528f6c",
"errorCode":1100,
"httpCode":429,
"errorContext":"Profiles Client Legacy",
"moreInfo":"6/27/2018 10:32:45 AM",
"transactionTime":"2018-06-27T10:25:02.7549934Z",
"transactionId":"857682de-a880-4bdf-ac67-f203270908ae"
}
But with api returns only:
{
players: []
}
There is a way to handle errors on frontend? Like add error messages maybe...
{
players: [],
"error_message": "Too many calls per profile id: 40078dc7-5f24-49a6-ad27-070c9c528f6c"
}
(Me again!)
Days ago i notice that with uplay api you can get infos about current playing match in R6, there is a possibility to add it in this api?
Thanks!
Hi, i have a config file:
<?php
$config = array(
"appcode" => "xxx",
"ubi-email" => "xxx",
"ubi-password" => "xxx",
"default-region" => "emea",
"default-stats" => "progression_level,progression_xp,rankedpvp_matchwon,rankedpvp_matchlost,rankedpvp_matchwlratio,rankedpvp_kills,rankedpvp_death,rankedpvp_kdratio,rankedpvp_timeplayed,casualpvp_death,casualpvp_kdratio,casualpvp_kills,casualpvp_matchlost,casualpvp_matchplayed,casualpvp_matchwlratio,casualpvp_matchwon,casualpvp_timeplayed,generalpve_revive,generalpvp_suicide,generalpvp_reinforcementdeploy,generalpvp_barricadedeployed,generalpvp_bulletfired,generalpvp_bullethit,generalpvp_meleekills,generalpvp_penetrationkills,weapontypepvp_killassists"
// all stats: https://gist.github.com/LaxisB/3924cfdc35562b719d1c891cdb895366
);
?>
With lots of stats, but when i call your api i show only a part of that stats:
{
"players":{
"40078dc7-5f24-49a6-ad27-070c9c528f6c":{
"casualpvp_matchwon":225,
"generalpvp_reinforcementdeploy":4735,
"generalpvp_barricadedeployed":2379,
"rankedpvp_timeplayed":771465,
"generalpvp_penetrationkills":247,
"rankedpvp_death":2842,
"generalpvp_bullethit":33688,
"generalpvp_suicide":9,
"generalpvp_meleekills":8,
"generalpvp_bulletfired":73879,
"casualpvp_matchplayed":513,
"casualpvp_death":1598,
"generalpve_revive":17,
"casualpvp_kills":1067,
"rankedpvp_matchlost":320,
"casualpvp_matchlost":288,
"rankedpvp_matchwon":307,
"casualpvp_timeplayed":417366,
"rankedpvp_kills":1923,
"nickname":"Sidelux00"
}
}
}
I have made a mistake or there are some problems?
hey,
i download your project and uploaded to my local server environment (i use wamp). the problem
when i want to display my user info it come with a issue.
URL
localhost/getUser.php?name=ALC0N.&platform=uplay&appcode=tester01
Result
{"players":{"ALC0N.":{"nickname":"ALC0N.","error":{"message":"User not found!"}}}}
But when i upload to my online hosting space it work.
i'm asking u is there any solution to the my local server environment.
Hey, kind of a noob question but I am new to this. What should my app code look like? I am not really sure what to make it. Thanks.
A parameter to select which platform to grab player info/stats from would also be nice addition!
Yeah, i have set up everything everywhere and now i got this page when i try to do a request. Nothing in error.log
{error:true}
(sorry for my english)
Hello, i tried to make a get request to getOperators.php?name=FeedMeImHunfry7?appcode=testman
but it shows nothing...
Hello, can you please add the Maverick and Clash gadget operator key ?
like
capitao : operatorpvp_capitao_lethaldartkills
sledge : operatorpvp_sledge_hammerhole
etc ...
thank you
:D
I have an iOS app using this API. Very often, since the last update to the source code of this project, my app will be unable to get the stats and all that is returned is the JSON structure of { error: { message: "User not found!" } }. However, I can't reproduce this issue by using the API in a browser.
I don't see how it could be an issue in my app because it IS reading the data from the API, but the API is only returning an error message.
But I also don't see how it could be an issue on the API-Wrapper's end because it's just the middleman in getting the data from Ubi and translating it into raw JSON.
Any idea what's up?
//All stats: https://gist.github.com/LaxisB/3924cfdc35562b719d1c891cdb895366
The gist no longer exists.
Hello, I'm trying to use your Ubi API , but it seems to have a problem when login is called, i get an error 404 File or diretory not found.
The ressource you are looking for might have been removed, had its name changed, or its temporarily unavailable.
it seems the URL "https://connect.ubi.com/ubiservices/v2/profiles/sessions" is no longer good and that Ubisoft is maybe changed this url can you please help me to correct this problem.
Thank you
title
It will be very interesting get operator datas like:
Operator Name
Playtime
Wins
Losses
Kills
Deaths
Specials
Example: https://pastebin.com/nxeh0ihY
What will be perfect (for my opinion) something like this: https://pastebin.com/tfPcpbSk
Thanks again!
There are some sorts of rate limits for account?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.