[Guild Issue] Guild API Endpoint Inconsistency/Missing Documentation
See original GitHub issueBefore I start, I’m aware there’s already open issues like this. I created this as an overall summary and go into further detail about the issues at hand.
Lately, I’ve noticed that there’s inconsistencies and issues within the Guild API Endpoint which affect the accuracy of the data you intend to provide to the end-users of the API. I understand things aren’t perfect but for the Guild API it’s never consistent with the response that I should be getting.
1) Missing Documentation
If you query https://api.hypixel.net/guild?key=YOUR_KEY&id=5bb8dbe40cf2d46f5a5c5c21, you’ll notice the documentation for the "coins"
and "coinsEver"
field is not present in the example response provided.
2) Inaccurate/Missing Daily Member GEXP.
I know there’s already issues open about this; however I have added this here in hopes it will even get looked at as the other issues seem to be neglected.
When querying the Guild Endpoint; some member’s in my guild seem to have missing, inaccurate and unorganized Daily GEXP Data such as one of my member’s in this image. I get not all dates may be in order and that’s not the big issue here, the issue is that there’s missing fields/days where GEXP was earned as reported by “/g member” ingame and I’m sure this is not intentional as when you go to add up all of the member’s Daily GEXP to get the Guild’s overall Daily GEXP you can sometime underreport the amount of GEXP earned that day.
Here’s an example of inaccurate/missing GEXP Data.
The ID of the Guild used in that screenshot is
5bb8dbe40cf2d46f5a5c5c21
AKA The Wavy v2
.
At the time of writing this, there’s 17 API Errors relating to GEXP inaccuracy within my guild (affects 17 unique UUIDs/People). To check this, make a JSON request to my guild or anyone really and run this in the browser console:
body = JSON.parse(document.getElementsByTagName('pre')[0].innerHTML);
test = body.guild.members.filter(item => Object.keys(item.expHistory).length !== 7);
test.forEach(item => console.log(`Error: ${item.uuid}, Length: ${Object.entries(item.expHistory).length}`))
console.log("Number of API errors found: " + test.length)
That will return the number of API Errors present in the data along with the affected UUIDs.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:9 (3 by maintainers)
@mdashlw Deprecated means it’s no longer supported not unnecessary. The two skyblock bazaar product and list endpoints are deprecated yet the documentation is still there along with the note that those are deprecated endpoints.
I agree, however this is apart of the response in the API and it should be documented with a note that it may be removed at any time.