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

RSS feeds

To follow translation progress you can use RSS feeds which include all important changes in translation. More information about exported RSS feeds is available in the documentation.

Project URL Link
Unknown Horizons https://hosted.weblate.org/exports/rss/uh/ RSS
Unknown Horizons/Interface https://hosted.weblate.org/exports/rss/uh/uh/ RSS
Unknown Horizons/MP-Server https://hosted.weblate.org/exports/rss/uh/uh-server/ RSS
Unknown Horizons/Scenario: The Unknown https://hosted.weblate.org/exports/rss/uh/the-unknown/ RSS
Unknown Horizons/Scenario: Tutorial https://hosted.weblate.org/exports/rss/uh/tutorial/ RSS
Unknown Horizons/Voices https://hosted.weblate.org/exports/rss/uh/voices/ RSS

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

Statistics

Translation statistics for every component in the JSON format allow you to use these data in other websites or tools. Format of the data is described in the documentation.

Project URL Link
Unknown Horizons/Interface https://hosted.weblate.org/api/components/uh/uh/statistics/ View
Unknown Horizons/MP-Server https://hosted.weblate.org/api/components/uh/uh-server/statistics/ View
Unknown Horizons/Scenario: The Unknown https://hosted.weblate.org/api/components/uh/the-unknown/statistics/ View
Unknown Horizons/Scenario: Tutorial https://hosted.weblate.org/api/components/uh/tutorial/statistics/ View
Unknown Horizons/Voices https://hosted.weblate.org/api/components/uh/voices/statistics/ View

For example getting stats for all translations in one component can be done by:

curl \
    -H "Authorization: Token byuQ8nzQrVSe8dUNZrxjlAhhlimldUyJktkhumoI" \
    https://hosted.weblate.org/api/components/uh/uh/translations/

Notification hooks

With notification hooks, Weblate will automatically import changes done by your developers and will allow continuous translation. More information is available in the documentation.

Project URL Link
Unknown Horizons https://hosted.weblate.org/api/projects/uh/repository/ Hook
Unknown Horizons/Interface https://hosted.weblate.org/api/components/uh/uh/repository/ Hook
Unknown Horizons/MP-Server https://hosted.weblate.org/api/components/uh/uh-server/repository/ Hook
Unknown Horizons/Scenario: The Unknown https://hosted.weblate.org/api/components/uh/the-unknown/repository/ Hook
Unknown Horizons/Scenario: Tutorial https://hosted.weblate.org/api/components/uh/tutorial/repository/ Hook
Unknown Horizons/Voices https://hosted.weblate.org/api/components/uh/voices/repository/ Hook

For example telling Weblate to pull remote repository can be done by:

curl \
    -d operation=pull \
    -H "Authorization: Token byuQ8nzQrVSe8dUNZrxjlAhhlimldUyJktkhumoI" \
    https://hosted.weblate.org/api/projects/uh/repository/

Weblate also supports direct notification from several code hosting sites:

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