-
[Release] BDO Item Database (REST API)
Hey guys,
I recently just finished developing a web shop for BDO and I thought It would be nice to share with you this little tool I made for easily and rapidly obtaining any in-game item information.
What is it?
This is a REST API that you can use to gather information about any given item id. At the time of posting this thread, the API is capable of giving you the following information about an item:
- id
- name
- grade
- icon
- url (to the bdo database)
How it works?
Check it out here: https://database.desertcore.com/
Example API calls:
Grunil Helmet
https://database.desertcore.com/item.php?id=10933
Gold Bar 1000G
https://database.desertcore.com/item.php?id=5
You can also download a SQL dump of the items database. Automatic weekly backups is still a work in progress, but I already made available a backup of today's data.
Here:
https://database.desertcore.com/download/
I hope this is useful for anyone else's projects. All feedback is appreciated.
-
-
Enthusiast
Re: [Release] BDO Item Database (REST API)
If you do this dump again could you have it update the items table rather than replace it?
-
Enthusiast
Re: [Release] BDO Item Database (REST API)
I made a small script you can use to get the JSON data and store it into a file using Node.js.
Source: https://gist.github.com/Zaseth/2de70...e61ad858627cd3
-
Apprentice
Re: [Release] BDO Item Database (REST API)
Using Angular HttpClient fire following error on console:
Access to XMLHttpRequest at 'https://database.desertcore.com/item.php?id=10933' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please add a CORS Policy to your Backend. Many Thanks!
-