Replies: 1 comment 1 reply
-
My bad! Thanks for the code. I'll take a look. Getting the item IDs automatically would indeed be nice and been discussed a bit before. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, I've been using your tool (I prefer the old one where only need items.json) than now. So I would like to offer some help on getting the item id and name from bdocodex. The issue now is I don't know how Golang programming, and the script I write is in Nodejs. I've made a replit for it to demonstrate how it work. Replit Link.
Here some sample I ran using query "Strawberry". The other parameters of course can be ommited
[ { "id": "7304", "type": "Item", "name": "Strawberry", "link": "https://bdocodex.com/us/item/7304/" }, { "id": "47868", "type": "Item", "name": "Strawberry Cake", "link": "https://bdocodex.com/us/item/47868/" }, { "id": "6704", "type": "Item", "name": "Strawberry Seed", "link": "https://bdocodex.com/us/item/6704/" }, { "id": "7404", "type": "Item", "name": "Strawberry Crate", "link": "https://bdocodex.com/us/item/7404/" }, { "id": "24832", "type": "Item", "name": "Strawberry Basket", "link": "https://bdocodex.com/us/item/24832/" } ]
Beta Was this translation helpful? Give feedback.
All reactions