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

Suggestion/requests (and probably if you want, offer to help coding some new features) #42

Open
profpjlalvarenga opened this issue Oct 21, 2021 · 1 comment

Comments

@profpjlalvarenga
Copy link

Hi, csjh!
I was analyzing your code because I want some different features and if you can help me I would be glad!
I want to get the lowest single price from a stackable item (like Worm Membrane).
So, if there are any quantity of membranes for lesser than 90k I would like to buy them.
The issue is, as far as I know, the stack quantity is nowhere on that hypixel api (at least I didn't find it even on swagger.json). Do you know of a way to get that value?
If so, I will create a branch for it doing the modifications I said, and if you like it you can incorporate on your code!

Thank you for your attention!

@csjh
Copy link
Owner

csjh commented Oct 21, 2021

It's stored in the item bytes which is gzipped, base64 encoded NBT data
You could try translating the javascript used @ https://cowtipper.de/nbt to python

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