REST API dashboard
https://andini.cz/api
This page 🐱
Get Brno traffic data
https://andini.cz/api/v1/GetTraffic
Result (JSON): array of object records.
Generate an error page
https://andini.cz/err/[i:code]
Example:
https://andini.cz/err/403
https://andini.cz/err/404
https://andini.cz/err/500
Parameters:
<code> - numeric error code
Result: HTML page
Get articles as JSON
https://andini.cz/ReadArticles/[a:profile]/[a:hash]
Example:
https://andini.cz/ReadArticles/default/3b8b91c75627bee566dcb88f4805901b20a3eab2520bcff8d26c87157a035026
Parameters:
<a:profile> - profile name,
<a:hash> - hexadecimal URL stub hash.
Result (JSON): HTML data (JSON) + checksum hash (string).
Get QR code as image
https://andini.cz/qr/[s|m|l|x:size]/[**:trailing]
Example:
https://andini.cz/qr/s/Hello World!
https://andini.cz/qr/m/https://example.com
Parameters:
<size = s/m/l/x> - image size,
<trailing> - text to render.
Result (binary): image.