Git Product home page Git Product logo

Comments (9)

hadouken111 avatar hadouken111 commented on June 12, 2024 1

@Seems2Legit Thanks for your comments, now it works i was using profil_id and not user_id :)

from rainbow-six-siege-player-stats-api.

sidelux avatar sidelux commented on June 12, 2024

If you need Xbox avatar maybe you can use this method.

from rainbow-six-siege-player-stats-api.

hadouken111 avatar hadouken111 commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

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.

hadouken111 avatar hadouken111 commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

So try with https://github.com/Tabwire/TheDivisionTab-API

from rainbow-six-siege-player-stats-api.

hadouken111 avatar hadouken111 commented on June 12, 2024

Still not working :/

from rainbow-six-siege-player-stats-api.

Seems2Legit avatar Seems2Legit commented on June 12, 2024

@hadouken111 you need the user_id. I'll add it to the response.

from rainbow-six-siege-player-stats-api.

Seems2Legit avatar Seems2Legit commented on June 12, 2024

(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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.