ANDINI API

  1. Crawler sitemap in TEXT format.
    https://andini.cz/sitemap.txt

    Returns (TEXT): simple text file.

  2. Crawler sitemap in XML format.
    https://andini.cz/sitemap.xml

    Returns (XML): XML markup.

  3. Get Brno traffic data
    https://andini.cz/api/v1/GetTraffic

    Returns (JSON): array of object records.

  4. Get Czech locale version
    https://andini.cz/cs/version/data

    Returns (JSON): SHA256 hash (string).

  5. Get English locale version
    https://andini.cz/en/version/data

    Returns (JSON): SHA256 hash (string).

  6. 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.

    Returns (binary): image.

  7. Get articles as HTML
    https://andini.cz/[a:lang]/exportHTML/[a:profile]/[**:trailing]

    Example:
    https://andini.cz/cs/exportHTML/default/home
    https://andini.cz/cs/exportHTML/default/id/demo

    Parameters:
    <a:lang> - language code,
    <a:profile> - profile name (default),
    <trailing> - URL stub.

    Returns (HTML): data.

  8. 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.

    Returns (JSON): HTML data (JSON) + checksum hash (string).

  9. Get core version
    https://andini.cz/version/core

    Returns (JSON): SHA256 hash (string), number of git revisions (integer), modification timestamp (integer), modification date (D. M. YYYY).

  10. Get error page
    https://andini.cz/err/[i:code]

    Example:
    https://andini.cz/err/403
    https://andini.cz/err/404
    https://andini.cz/err/420
    https://andini.cz/err/500

    Parameters:
    <code> - numeric error code

    Returns: HTML page.

  11. Progressive Web App (PWA) manifest.
    https://andini.cz/manifest.json

    Returns (JSON): configuration file.

  12. REST API dashboard
    https://andini.cz/api

    This page 🐱

  13. RSS export demonstration for future applications.
    https://andini.cz/rss.xml

    Returns (XML): XML markup.

  14. Service worker.
    https://andini.cz/sw.js

    Returns (JavaScript): SW code.