ANDINI REST API

  1. API error page
    https://andini.cz/api/v1/Error

  2. Get ACADEMIA lunch menu records for next week
    https://andini.cz/api/v1/GetAcademiaMenuT2

    Returns (JSON): array of object records.

  3. Get ACADEMIA lunch menu records for next week
    https://andini.cz/api/v1/GetAcademiaMenuT2CSV

    Returns (binary): records as a CSV.

  4. Get ANDINI lunch menu records
    https://andini.cz/api/v1/GetLunchMenuCSV

    Returns (binary): records as CSV.

  5. Get ANDINI lunch menu records
    https://andini.cz/api/v1/GetLunchMenu

    Returns (JSON): array of object records.

  6. Get ANDINI lunch menu records for next week
    https://andini.cz/api/v1/GetLunchMenuT2CSV

    Returns (binary): records as a CSV.

  7. Get ANDINI lunch menu records for next week
    https://andini.cz/api/v1/GetLunchMenuT2

    Returns (JSON): array of object records.

  8. Get Academia lunch menu records
    https://andini.cz/api/v1/GetAcademiaMenuCSV

    Returns (binary): records as CSV.

  9. Get Academia lunch menu records
    https://andini.cz/api/v1/GetAcademiaMenu

    Returns (JSON): array of object records.

  10. Get Android CSS
    https://andini.cz/android/css

    Returns (JSON): version SHA256 hash (string) + Android CSS (string).

  11. Get Android JS
    https://andini.cz/android/js

    Returns (JSON): version SHA256 hash (string) + Android JS (string).

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

    Returns (JSON): SHA256 hash (string).

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

    Returns (JSON): SHA256 hash (string).

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

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

    Example:
    https://andini.cz/en/exportHTML/default/!
    https://andini.cz/en/exportHTML/default/id/demo

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

    Returns (HTML): data.

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

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

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

    Returns (HTML): data.

  17. 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).

  18. 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).

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

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

    Parameters:
    <code> - numeric error code

    Returns: HTML page.

  20. Get module HTML output in Czech
    https://andini.cz/cs/embed/[a:module]

    Example:
    https://andini.cz/cs/embed/rozvoz1
    https://andini.cz/cs/embed/rozvoz2

    Returns (HTML): module output.

  21. Get module HTML output in English
    https://andini.cz/en/embed/[a:module]

    Example:
    https://andini.cz/en/embed/rozvoz1
    https://andini.cz/en/embed/rozvoz2

    Returns (HTML): module output.

  22. Get module print output in Czech
    https://andini.cz/cs/print/[a:module]

    Example:
    https://andini.cz/cs/print/rozvoz
    https://andini.cz/cs/print/rozvoz?logo=1
    https://andini.cz/cs/print/rozvoz?qr=1&logo=1
    https://andini.cz/cs/print/rozvoz1
    https://andini.cz/cs/print/rozvoz2

    Parameters:
    <a:module> - module name,
    optional URL parameters: ?qr=1, ?logo=1.

  23. Get module print output in English
    https://andini.cz/en/print/[a:module]

    Example:
    https://andini.cz/en/print/rozvoz
    https://andini.cz/en/print/rozvoz?logo=1
    https://andini.cz/en/print/rozvoz?qr=1&logo=1
    https://andini.cz/en/print/rozvoz1
    https://andini.cz/en/print/rozvoz2

    Parameters:
    <a:module> - module name,
    optional URL parameters: ?qr=1, ?logo=1.

  24. Read ebook in EPUB format
    https://andini.cz/readEPUB/[**:trailing]

    Example:
    https://andini.cz/readEPUB/epub/alice

    Parameters:
    <trailing> - relative path to the EPUB file (without .epub extension) under www/

    Returns (HTML): EPUB reader.

  25. Show REST API dashboard
    https://andini.cz/api

    This page 🐱