Comments (9)
@Seems2Legit Thanks for your comments, now it works i was using profil_id and not user_id :)
from rainbow-six-siege-player-stats-api.
If you need Xbox avatar maybe you can use this method.
from rainbow-six-siege-player-stats-api.
Thank you for your return, but this is the avatar of the Xbox account, but I want the Uplay avatar of Xbox players
from rainbow-six-siege-player-stats-api.
So basically you need the uplay avatar (dot).
You will build something like this URL:
https://ubisoft-avatars.akamaized.net/40078dc7-5f24-49a6-ad27-070c9c528f6c/default_256_256.png
The 40078dc7-5f24-49a6-ad27-070c9c528f6c part is the Ubi profile_id, to get that you should make a POST request with this header:
authorization: Basic (base64 of user + ":" + password)
Content-Type: application/json
Ubi-AppId: 39baebad-39e5-4552-8c25-2c9b919064e2
To that URL: https://public-ubiservices.ubi.com/v3/profiles/sessions
Then you'll get a json with:
"profileId": "40078dc7-5f24-49a6-ad27-070c9c528f6c",
Enjoy
from rainbow-six-siege-player-stats-api.
I Already try this link but it works only with PC account
I use https://ubisoft-avatars.akamaized.net for PC account
I use for PS4 account https://avatar-cdn.tracker.gg/api/avatar/2/
and for Xbox I found this link https://avatar-xbl.tracker.gg/image.png?url=
but I don't understand the URL parameter, or find it how is it formatted ??
from rainbow-six-siege-player-stats-api.
So try with https://github.com/Tabwire/TheDivisionTab-API
from rainbow-six-siege-player-stats-api.
Still not working :/
from rainbow-six-siege-player-stats-api.
@hadouken111 you need the user_id. I'll add it to the response.
from rainbow-six-siege-player-stats-api.
(On pc the profile_id and the user_id are the same, but on other platforms, you'll need the user_id to get their avatar)
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.