We are adding two key functions
RetrieveXML and SaveXML – RetrieveXML will do want you want. It will be in the next release 1.53.
For the template, I am going to give the line which I hate saying. We are honestly working on the updated docs plus a wiki for more real time updates.
In the meantime, I would be happy to summarize some elements that you are interested in for this forum. The undocumented high level commands are Peek, Poke, SendInsteon and SendX10.
Let me know what you are interested in.