Closed Ihellmasker closed 3 years ago
In GitLab by @vigilvindex on Aug 1, 2018, 19:19
changed the description
In GitLab by @Ihellmasker on Aug 2, 2018, 13:16
That's an interesting idea, I assume its so you can integrate it with your own website or bot?
Few things;
We are most likely, at some unknown time, going to allow some amount of public access to our API, but we need to do some more work on setting it up for public access. This would allow you to authenticate into our API and retrieve things such as builds as a raw json, item lists, profiles, etc. More detail will come in the future when it's ready.
Some of the things you've suggested in your JSON sample though we can't do. Stats lists relating to a build aren't cached in any way, to store stat values against a build would probably triple or quadruple our database size, so we only cache the AP/Awakening AP/DP and Renown scores. Builds store item IDs, enhancement levels, Crystal IDs, stuff like that, then the calculation is performed by the client.
As such, a JSON like you've suggested isn't possible.
In GitLab by @vigilvindex on Aug 3, 2018, 06:38
Yeah it is for a Discord bot I wrote when the BDOBot got shut down. It has a gear command that lets users register their gear: !gear ap:200 aap:200 dp:200 accuracy:200 level:60 class:ninja link:https://bdoplanner.com/UniqueBuildName
I would like for users to be able to just supply their bdo build link and parse the values from that. I am considering just scraping the info with puppeteer.
In GitLab by @Ihellmasker on Feb 4, 2020, 20:51
closed
In GitLab by @vigilvindex on Aug 1, 2018, 19:11
Description
JSON object with stats and values for each build accessed via URL: https://bdoplanner.com/UniqueBuildName/json