Git Product home page Git Product logo

Comments (21)

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

What do you mean with "operator stats"?
Only playtime/win/lose/kill/death?

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

Yes and gadget kills/uses/etc.

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

sidelux avatar sidelux commented on June 12, 2024

Ohw i understood now, do as you more comfortable :)

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

Wow also with badges! Yeah

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

Mmmh i think there is a limit anyway i suggest you to keep 19...

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

Why operator name twice?
Maybe can be more useful operator ‘category’ (like FBI)

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

Seems2Legit avatar Seems2Legit commented on June 12, 2024

In the JSON I send you is no FBI etc. so I have to add it manually...

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

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.

Seems2Legit avatar Seems2Legit commented on June 12, 2024

Nice 🥇 ! I'll add it.

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

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.

Seems2Legit avatar Seems2Legit commented on June 12, 2024
{
  "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.

sidelux avatar sidelux commented on June 12, 2024

Nice ;)
And for operators stats?

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

Seems2Legit avatar Seems2Legit commented on June 12, 2024

What do you mean?

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

sidelux avatar sidelux commented on June 12, 2024

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.

sidelux avatar sidelux commented on June 12, 2024

It works all perfectly ;)

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.