Hi, this has been explained to you before. There is no API in XF1 either. There is a couple of add ons you might be using now - either XenAPI or [bd] API but you would be better asking the original developers about that.
At the moment, there is no way to do this. The SDK's and API's that worked in XF1 haven't been ported, and probably won't be by their original authors.