Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raidbots Charakter Links ? #32

Open
derwhite opened this issue Feb 23, 2023 · 2 comments
Open

Raidbots Charakter Links ? #32

derwhite opened this issue Feb 23, 2023 · 2 comments

Comments

@derwhite
Copy link
Owner

@Kaeseknacker

I found a Developer button on Raidbots.com ;D
There isn't a API, but you can create a pre-filled link to Sims

https://www.raidbots.com/simbot/stats?region=REGION&realm=REALM&name=CHARACTER_NAME

I know you looked for something like Sims implementing ^^ If you like it, we can put it somewhere.

Source: https://www.raidbots.com/developers

@Kaeseknacker
Copy link
Collaborator

Mhhh, this looks like a loot of work ^^
Steps are:

  1. Open the request page, e.g.:
    https://www.raidbots.com/simbot/quick?region=us&realm=malganis&name=seriallos
  2. Press the "Run Quick Sim" button
  3. You will get an output page like this:
    https://www.raidbots.com/simbot/report/xnvyVWk1V9m6wKYhuKcydw
  4. Append /data.json to the output page to get the result in json format:
    https://www.raidbots.com/reports/xnvyVWk1V9m6wKYhuKcydw/data.json
    (This saves you having to search the HTML page for the DPS value.)

Maybe we could try this.
If that works, I would definitely not integrate it into our normal m+ homepage script.
The running time is way too high.
Instead of this we should use a new script which run these sims once a day and save the output on the server. The main script can than only read this output and show it on the homepage.

@Kaeseknacker
Copy link
Collaborator

From a programmer point of view this whole idea looks realy cool: Integrate simbot and show the results.

From the user's point of view, I don't know if it is worth. Many users are not interessted of the result or even the homepage... Some users maybe are interested but unable to interpret the result correctly. Only a few players are realy able to interpret the results correctly, but they simulate their character anyway by themself ^^

But what we could do in any case is to integrate this Quicksim link on the HP for every character. With this you can at least start one or the other sim by hand.
(These pre-filled links also works for: droptimizer, quick and gear)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants