Jump to content
LaunchBox Community Forums
elJonnyRage

LaunchBox DB API

Recommended Posts

I have a paid version of LaunchBox. I love the software and appreciate all the hard work the devs put in. I'm kind of OCD when it comes to making lists. I like to keep a list of all the games I've beat, when I completed them, publisher, release date etc. so basically my own db, but a poor mans version in a google spreadsheet. I'm a database developer, and I thought it would be fun as a side project and learning opportunity to build a website using a MySql db as the backend to showcase my digital collection. I know this is basically what Launchbox does, but I just wanted to try building my own web version for fun. I realize I could just go through my list and painstakingly fill out all of the game info and build my own database, but it looks like Launchbox already has a great one available for its users. I was wondering if there is any way for me to tap into this DB using some kind of API so that I could take advantage of the information that is already out there? 

 

Edited by elJonnyRage

Share this post


Link to post
Share on other sites

Under ..\LaunchBox\Data\Platforms\  you'll find the xml files for each platform that holds all your game info.  From there it's just a matter of parsing the info into your db.

I think that's what you were looking for.

Share this post


Link to post
Share on other sites

Thank you that should work. I figured I might be able to go that route. I just wanted to see if they had a web api for the Launchbox Database that would return Json or XMl. I found this site for the Launchbox DB https://gamesdb.launchbox-app.com/ and you can search and return game info from it, I just wondered if there was a way to get the information programmatically. Thank you for your response.

 

Edited by elJonnyRage

Share this post


Link to post
Share on other sites

I'm not sure if Jason has an API setup for the site, but for all_metadata (vs just what you have on your system[mentioned above]) you also have-at-your-fingertips...

..\LaunchBox\Metadata\Metadata.xml

This (190 MB file) gets updated directly from the LB database.  I believe LaunchBox updates it once every 24 hours.  

To update your local copy, you may need to do a 'download metadata' for a game (or more) so it grabs the most current xml file.  

Share this post


Link to post
Share on other sites
1 minute ago, JoeViking245 said:

To update your local copy, you may need to do a 'download metadata' for a game (or more) so it grabs the most current xml file.

You can now also do it from the help menu.

image.thumb.png.e164b0edbacc215c5b9c8d7177e20804.png

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...