HomeGenie Forum

General Category => General Discussion => Topic started by: NicoVermeir on December 29, 2014, 03:54:36 PM

Title: HG api
Post by: NicoVermeir on December 29, 2014, 03:54:36 PM
is there a documentation on the /api/ end point in homegenie?
I would like to see what's available and what I can use in the mobile app
Title: Re: HG api
Post by: Gene on December 29, 2014, 04:34:41 PM
No web API documentation available at the moment.

You'll have to dig the source code here
https://github.com/genielabs/HomeGenie/tree/master/HomeGenie/Service/Handlers (https://github.com/genielabs/HomeGenie/tree/master/HomeGenie/Service/Handlers)
and or see how the UI is using it:
https://github.com/genielabs/HomeGenie/tree/master/BaseFiles/Common/html/js/api (https://github.com/genielabs/HomeGenie/tree/master/BaseFiles/Common/html/js/api)
also there's an old brief introduction to HG web api:
http://sourceforge.net/p/homegenie/wiki/HomeGenie%20Web%20Service%20API/ (http://sourceforge.net/p/homegenie/wiki/HomeGenie%20Web%20Service%20API/)

Cheers,
g.
Title: Re: HG api
Post by: NicoVermeir on December 29, 2014, 06:54:00 PM
well, I was hoping to avoid diggin through JS (really, really don't like JS :))
but I'll make it work, thanks!