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
Mastodon https://weblate.joinmastodon.org/exports/rss/mastodon/ RSS
Mastodon/Backend https://weblate.joinmastodon.org/exports/rss/mastodon/backend/ RSS
Mastodon/React https://weblate.joinmastodon.org/exports/rss/mastodon/frontend/ RSS
Mastodon/Activerecord https://weblate.joinmastodon.org/exports/rss/mastodon/activerecord/ RSS
Mastodon/Devise https://weblate.joinmastodon.org/exports/rss/mastodon/devise/ RSS
Mastodon/Doorkeeper https://weblate.joinmastodon.org/exports/rss/mastodon/doorkeeper/ RSS
Mastodon/Preferences https://weblate.joinmastodon.org/exports/rss/mastodon/simple_form/ 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
Mastodon/Backend https://weblate.joinmastodon.org/api/components/mastodon/backend/statistics/ View
Mastodon/React https://weblate.joinmastodon.org/api/components/mastodon/frontend/statistics/ View
Mastodon/Activerecord https://weblate.joinmastodon.org/api/components/mastodon/activerecord/statistics/ View
Mastodon/Devise https://weblate.joinmastodon.org/api/components/mastodon/devise/statistics/ View
Mastodon/Doorkeeper https://weblate.joinmastodon.org/api/components/mastodon/doorkeeper/statistics/ View
Mastodon/Preferences https://weblate.joinmastodon.org/api/components/mastodon/simple_form/statistics/ View

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

curl \
    -H "Authorization: Token TOKEN" \
    https://weblate.joinmastodon.org/api/components/mastodon/backend/translations/

Notification hooks

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

Project URL Link
Mastodon https://weblate.joinmastodon.org/api/projects/mastodon/repository/ Hook
Mastodon/Backend https://weblate.joinmastodon.org/api/components/mastodon/backend/repository/ Hook
Mastodon/React https://weblate.joinmastodon.org/api/components/mastodon/frontend/repository/ Hook
Mastodon/Activerecord https://weblate.joinmastodon.org/api/components/mastodon/activerecord/repository/ Hook
Mastodon/Devise https://weblate.joinmastodon.org/api/components/mastodon/devise/repository/ Hook
Mastodon/Doorkeeper https://weblate.joinmastodon.org/api/components/mastodon/doorkeeper/repository/ Hook
Mastodon/Preferences https://weblate.joinmastodon.org/api/components/mastodon/simple_form/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.joinmastodon.org/api/projects/mastodon/repository/

Weblate also supports direct notifications from several code hosting sites:

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