[Release] BDO Item Database (REST API)

Results 1 to 5 of 5
  1. #1
    Proficient Member Lautaro is offline
    MemberRank
    Jul 2007 Join Date
    CaliforniaLocation
    163Posts

    [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.


  2. #2
    Enthusiast thyris is offline
    MemberRank
    May 2007 Join Date
    27Posts

    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?

  3. #3
    Enthusiast Zaseth is offline
    MemberRank
    Oct 2018 Join Date
    The NetherlandsLocation
    31Posts

    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

  4. #4

    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!

  5. #5
    Account Upgraded | Title Enabled! TieLay is online now
    MemberRank
    Jan 2011 Join Date
    RussiaLocation
    655Posts
    links are dead



Advertisement