You can retrieve various data from Weblate in machine readable format.

RSS feeds

To follow translation progress you can use RSS feeds, detailing all important translation changes.

Project URL Link
Desktop https://weblate.elementary.io/exports/rss/desktop/ RSS
Desktop/Captive Portal Assistant https://weblate.elementary.io/exports/rss/desktop/capnet-assist/ RSS
Desktop/Captive Portal Assistant (extra) https://weblate.elementary.io/exports/rss/desktop/capnet-assist-extra/ RSS
Desktop/gala https://weblate.elementary.io/exports/rss/desktop/gala/ RSS
Desktop/Granite https://weblate.elementary.io/exports/rss/desktop/granite/ RSS
Desktop/Greeter https://weblate.elementary.io/exports/rss/desktop/greeter/ RSS
Desktop/Pantheon Geoclue2 Agent https://weblate.elementary.io/exports/rss/desktop/pantheon-agent-geoclue2/ RSS
Desktop/Pantheon Polkit Agent https://weblate.elementary.io/exports/rss/desktop/pantheon-agent-polkit/ RSS
Desktop/Shortcut Overlay https://weblate.elementary.io/exports/rss/desktop/shortcut-overlay/ RSS
Desktop/Shortcut Overlay Extra https://weblate.elementary.io/exports/rss/desktop/shortcut-overlay-extra/ RSS

Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.

Statistics

Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.

Project URL Link
Desktop/Captive Portal Assistant https://weblate.elementary.io/api/components/desktop/capnet-assist/statistics/ View
Desktop/Captive Portal Assistant (extra) https://weblate.elementary.io/api/components/desktop/capnet-assist-extra/statistics/ View
Desktop/gala https://weblate.elementary.io/api/components/desktop/gala/statistics/ View
Desktop/Granite https://weblate.elementary.io/api/components/desktop/granite/statistics/ View
Desktop/Greeter https://weblate.elementary.io/api/components/desktop/greeter/statistics/ View
Desktop/Pantheon Geoclue2 Agent https://weblate.elementary.io/api/components/desktop/pantheon-agent-geoclue2/statistics/ View
Desktop/Pantheon Polkit Agent https://weblate.elementary.io/api/components/desktop/pantheon-agent-polkit/statistics/ View
Desktop/Shortcut Overlay https://weblate.elementary.io/api/components/desktop/shortcut-overlay/statistics/ View
Desktop/Shortcut Overlay Extra https://weblate.elementary.io/api/components/desktop/shortcut-overlay-extra/statistics/ View

As an example, fetching stats for all translations in one component can be done thusly:

curl \
    -H "Authorization: Token TOKEN" \
    https://weblate.elementary.io/api/components/desktop/capnet-assist/translations/

Notification hooks

With notification hooks, Weblate will automatically import changes made by your developers, and allows continuous translation.

Project URL Link
Desktop https://weblate.elementary.io/api/projects/desktop/repository/ Hook
Desktop/Captive Portal Assistant https://weblate.elementary.io/api/components/desktop/capnet-assist/repository/ Hook
Desktop/Captive Portal Assistant (extra) https://weblate.elementary.io/api/components/desktop/capnet-assist-extra/repository/ Hook
Desktop/gala https://weblate.elementary.io/api/components/desktop/gala/repository/ Hook
Desktop/Granite https://weblate.elementary.io/api/components/desktop/granite/repository/ Hook
Desktop/Greeter https://weblate.elementary.io/api/components/desktop/greeter/repository/ Hook
Desktop/Pantheon Geoclue2 Agent https://weblate.elementary.io/api/components/desktop/pantheon-agent-geoclue2/repository/ Hook
Desktop/Pantheon Polkit Agent https://weblate.elementary.io/api/components/desktop/pantheon-agent-polkit/repository/ Hook
Desktop/Shortcut Overlay https://weblate.elementary.io/api/components/desktop/shortcut-overlay/repository/ Hook
Desktop/Shortcut Overlay Extra https://weblate.elementary.io/api/components/desktop/shortcut-overlay-extra/repository/ Hook

As an example, telling Weblate to pull from a remote repository can be done thusly:

curl \
    -d operation=pull \
    -H "Authorization: Token TOKEN" \
    https://weblate.elementary.io/api/projects/desktop/repository/

Weblate also supports direct notifications from several code hosting sites:

Hosting site URL Note
GitHub https://weblate.elementary.io/hooks/github/ Browse the documentation for detailed instructions
GitLab https://weblate.elementary.io/hooks/gitlab/ Browse the documentation for detailed instructions
Bitbucket https://weblate.elementary.io/hooks/bitbucket/ Browse the documentation for detailed instructions