Homey Community Forum

Interceptors in AthomCloudAPI / HomeyAPI?

Hi,
Does AthomCloudAPI / HomeyAPI provide some sort of interceptors for requests/responses, such as Axios Interceptors (https://github.com/axios/axios/blob/master/README.md)?

That would be very useful in regards to error handling and progress loading in my VueJS app.

In short: no. You may be able to monkeypatch fetch as a hack.

Actually I could drop using the Homey JS library and just do the AJAX call directly with use of Axios. I really dont see any benefit using a library with outdated interface definitions