• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Development Question: Calling a webservice with HL data

manchuwook

Well-known member
So I'd like to write a function in HL that will post fields from an open character to a webservice, either by pushing a button or having a timer function update it. The purpose is to have a website with initiative tracker and some useful data, such as name, player, character image, current/max health, buffs, etc. Also, the option to have a dice icon next to the skill/weapon so it can push the results (or do the rolling on the site).

Is there an API or something that I can call to do that? I can do the website portion on my own, but it would be nice to be able to hand off the data from hero lab without having to do constant XML exports.
 
Hi there,

We don't support doing this in Hero Lab directly, but you can read content out of a Hero Lab saved portfolio and send it up to a server yourself.

Check out the "Reading Hero Lab Saved Portfolios" section of the Hero Lab manual - that should give you the information you need to get started.

Hope this helps! Please let us know if you have any further questions.
 
Back
Top