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

Problem with library #7

Closed
Endorosaurus opened this issue Sep 5, 2020 · 1 comment
Closed

Problem with library #7

Endorosaurus opened this issue Sep 5, 2020 · 1 comment

Comments

@Endorosaurus
Copy link

This is most likely a problem with the website, but it shows rune dagger price as 0. All other prices are normal though.

@Coffee-fueled-deadlines
Copy link
Owner

from OSRSBytes import Items
item = Items()

buy_value      = item.getBuyAverage('rune dagger')
buy_quantity = item.getBuyQuantity('rune dagger')

print(buy_value)
print(buy_quantity)

Issue isn't with the website nor is the issue with OSRSBytes, what you're experiencing is the OSRS Market as seen by OSBuddy. No one is currently buying rune dagger and thus there are 0 buy orders for it. Because there are 0 buy orders for it, the buy_average is 0.

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