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

Items out of stock #8

Open
shimo-sudo opened this issue Jul 6, 2020 · 5 comments
Open

Items out of stock #8

shimo-sudo opened this issue Jul 6, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@shimo-sudo
Copy link

Is it possible to still fetch prices for items that are constantly out of stock (ie. Scorpion Meat)? The app says it retrieves the price, but there is no entry in the output.

Thank you

@kookehs kookehs self-assigned this Jul 6, 2020
@kookehs
Copy link
Owner

kookehs commented Jul 6, 2020

I can't reproduce the issue. I get an entry for Scorpion Meat even though it's out of stock.

id,name,grade,enhancement,maximum,minimum,price,count
13414,Yuria Crescent Pendulum,1,0,54000,46800,50500,4
13414,Yuria Crescent Pendulum,1,8,1930000,1670000,1800000,20
13414,Yuria Crescent Pendulum,1,11,2850000,2470000,2660000,22
13414,Yuria Crescent Pendulum,1,13,5600000,4860000,5250000,4
13414,Yuria Crescent Pendulum,1,16,74000000,64000000,69000000,46
13414,Yuria Crescent Pendulum,1,17,97500000,84500000,91000000,5
13414,Yuria Crescent Pendulum,1,18,103000000,89000000,96000000,0
13414,Yuria Crescent Pendulum,1,19,353000000,305000000,329000000,0
13414,Yuria Crescent Pendulum,1,20,795000000,685000000,740000000,0
7924,Scorpion Meat,1,0,9900,9200,9900,0

Could you provide the region, contents of items.json, and any relevant output.

@shimo-sudo
Copy link
Author

shimo-sudo commented Jul 6, 2020

Sure!

Region: NA
Items.json
[ { "id": "11017", "name": "Dim Tree Spirit's Armor", "grade": "3" }, { "id": "37230", "name": "Strawberry", "grade": "4" }, { "id": "7106", "name": "Teff Flour", "grade": "0" } ]

Output:
id,name,grade,enhancement,maximum,minimum,price,count 11017,Dim Tree Spirit's Armor,3,0,234000000,202000000,218000000,79 11017,Dim Tree Spirit's Armor,3,6,275000000,237000000,256000000,5 11017,Dim Tree Spirit's Armor,3,10,389000000,335000000,362000000,2 11017,Dim Tree Spirit's Armor,3,13,505000000,438000000,473000000,4 11017,Dim Tree Spirit's Armor,3,14,525000000,456000000,492000000,0 11017,Dim Tree Spirit's Armor,3,15,630000000,550000000,590000000,0 11017,Dim Tree Spirit's Armor,3,16,630000000,550000000,590000000,8 11017,Dim Tree Spirit's Armor,3,17,660000000,570000000,615000000,3 11017,Dim Tree Spirit's Armor,3,18,830000000,720000000,775000000,2 11017,Dim Tree Spirit's Armor,3,19,1950000000,1690000000,1820000000,3 11017,Dim Tree Spirit's Armor,3,20,22200000000,19200000000,20700000000,3 7106,Teff Flour,0,0,1660,1440,1550,65399

Strawberries in this case, not Scorpion Meat

@shimo-sudo
Copy link
Author

shimo-sudo commented Jul 6, 2020

I just ran it again including Scorpion Meat, and that did work. It seems to be an issue with Strawberries.

Edit:
Looks like there are two Strawberry item IDs in the example items.json. I just looked up the correct ID and now it's working.

Thanks for the quick reply!

@kookehs
Copy link
Owner

kookehs commented Jul 6, 2020

For reference, 37230 refers to the knowledge and 7304 is the actual item.
The marketplace returns a result but states This item cannot be registered on the Central Market.. I'll make note of this to account for it.

@kookehs kookehs added the bug Something isn't working label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@kookehs @shimo-sudo and others