QB64.org Forum

Active Forums => Programs => Topic started by: SpriggsySpriggs on August 14, 2020, 02:24:15 am

Title: Back at the API grindstone
Post by: SpriggsySpriggs on August 14, 2020, 02:24:15 am
Here is a snapshot of a program I'm working on that uses the Daybreak Games API to show character stats for the game DC Universe Online (one of my absolute favorite games). I'm working on trying to see if I can eventually get the photo of the character as well but I don't know if that functionality is deprecated or not.

  [ This attachment cannot be displayed inline in 'Print Page' view ]  
Title: Re: Back at the API grindstone
Post by: SpriggsySpriggs on August 14, 2020, 08:30:01 pm
Here is the source code as it currently stands. I won't be able to show the picture of the character since they got rid of the functionality. It probably ate up too much server. I plan on making the program return all characters found from the search and store the names in the dropdown list so you can pick the result you want but I'm not too worried about it right now. I used Source Merger to gather up the $INCLUDEs so I don't end up forgetting something.
Title: Re: Back at the API grindstone
Post by: FellippeHeitor on August 14, 2020, 08:42:45 pm
Thanks for sharing, Spriggsy. I suppose it's Windows-specific? Also, is DECLARE DYNAMIC LIBRARY "urlmon" an external file or is it native to Windows?

The source you shared is a bit lengthy and is causing the recent posts page to take quite a while to load. Maybe attach it?
Title: Re: Back at the API grindstone
Post by: SpriggsySpriggs on August 14, 2020, 08:56:27 pm
Thanks for sharing, Spriggsy. I suppose it's Windows-specific? Also, is DECLARE DYNAMIC LIBRARY "urlmon" an external file or is it native to Windows?

The source you shared is a bit lengthy and is causing the recent posts page to take quite a while to load. Maybe attach it?
I've changed the source to an attachment. Sorry! Also, urlmon is a dll in the System32 folder, I think.
Title: Re: Back at the API grindstone
Post by: FellippeHeitor on August 14, 2020, 08:58:12 pm
Cool, I'll try it in a Windows VM.