You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a file in each of the "realm" folder with the list of every item in the game. The problem is – it is not. Some items are missing.
IMO, it is the easiest way of running through every single item to get its name and/or ID.
So the question is: will it be updated?
I'm not very familiar with GitHub API and do not know is there an option to get a tree of a repo, but I found that the only solution to get every possible pair of ITEM_NAME - ITEM_ID is to go through every folder, subfolders and, finally, every item, which is crazy amount of requests especially with GitHub restriction of like 5k per hour. I think this file would be a lifesaver for some kind of an AH monitoring app which relies on item_name more than type-subtype-item_name.
Git clone of a repo would be an option, of course, but you already have like half of the solution =)
The text was updated successfully, but these errors were encountered:
Given the structure of the stalcraft-database repository, it seems to me that the data was exported directly from the game without any changes to the structure.
The best solution is to write your own parser (or use an existing one), parse the data into a format you prefer and save it in your database.
Hi!
There is a file in each of the "realm" folder with the list of every item in the game. The problem is – it is not. Some items are missing.
IMO, it is the easiest way of running through every single item to get its name and/or ID.
So the question is: will it be updated?
I'm not very familiar with GitHub API and do not know is there an option to get a tree of a repo, but I found that the only solution to get every possible pair of ITEM_NAME - ITEM_ID is to go through every folder, subfolders and, finally, every item, which is crazy amount of requests especially with GitHub restriction of like 5k per hour. I think this file would be a lifesaver for some kind of an AH monitoring app which relies on item_name more than type-subtype-item_name.
Git clone of a repo would be an option, of course, but you already have like half of the solution =)
The text was updated successfully, but these errors were encountered: