Probably a simple question but I've not been Keeping Up At The Back recently.... And it's testament to the stability of cortex that it's taken me 40 minutes of faffing to even "remember" the credentials to log into my cortex PC for the first time in many many months...!

I'm using some old scripts to 'talk' xAP with cortex -- to send in some additional data and extract/report on heating status. I need to re-write them and don't want to use xAP if I can help it....
Can I use something more modern? I have a feeling there's some means of JSON API over the network.

Thanks all.