0
Under review

sort of API

Attila Rozsa 2 weeks ago updated 2 weeks ago 3

I'd like to get some basic information on my libraries (.e.g number of books, date/time of last scan) via curl to be able to intergrate it into a home automation system (in my case Home Assistant).

So far I can only test is the Ubooquity server is up.

Is there some sort of REST API that has end-points (with or without authentication) to query the aboves?

Under review

The information you want is not available through an API.

But it is written to the logs each time a scan is done.


So if you can ssh into the server, you should be able to get the number and dates with a bit of bash.

Thanks for your quick reply. I'm aware of the log file entries and scripting is not a problem, I just thought I could solve it in a different, elegant way.

Worked this way too: