Author Topic: Back at the API grindstone  (Read 2871 times)

0 Members and 1 Guest are viewing this topic.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Back at the API grindstone
« 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.

 
dcuo census api.png
Shuwatch!

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Back at the API grindstone
« Reply #1 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.
* DCUO Census Source.bas (Filesize: 588.89 KB, Downloads: 139)
« Last Edit: August 14, 2020, 08:51:38 pm by SpriggsySpriggs »
Shuwatch!

FellippeHeitor

  • Guest
Re: Back at the API grindstone
« Reply #2 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?

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Back at the API grindstone
« Reply #3 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.
Shuwatch!

FellippeHeitor

  • Guest
Re: Back at the API grindstone
« Reply #4 on: August 14, 2020, 08:58:12 pm »
Cool, I'll try it in a Windows VM.