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
YunoHost-Apps https://translate.yunohost.org/exports/rss/yunohost-apps/ RSS
YunoHost-Apps/Apps-Community https://translate.yunohost.org/exports/rss/yunohost-apps/apps-community/ RSS
YunoHost-Apps/Apps-Official https://translate.yunohost.org/exports/rss/yunohost-apps/apps-official/ RSS
YunoHost-Apps/levels https://translate.yunohost.org/exports/rss/yunohost-apps/levels/ 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
YunoHost-Apps/Apps-Community https://translate.yunohost.org/api/components/yunohost-apps/apps-community/statistics/ View
YunoHost-Apps/Apps-Official https://translate.yunohost.org/api/components/yunohost-apps/apps-official/statistics/ View
YunoHost-Apps/levels https://translate.yunohost.org/api/components/yunohost-apps/levels/statistics/ View

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

curl \
    -H "Authorization: Token zwdMySorGyp5jpXbU81bD8fv1vbhQePou8yPOas3" \
    https://translate.yunohost.org/api/components/yunohost-apps/apps-community/translations/

Notification hooks

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

Project URL Link
YunoHost-Apps https://translate.yunohost.org/api/projects/yunohost-apps/repository/ Hook
YunoHost-Apps/Apps-Community https://translate.yunohost.org/api/components/yunohost-apps/apps-community/repository/ Hook
YunoHost-Apps/Apps-Official https://translate.yunohost.org/api/components/yunohost-apps/apps-official/repository/ Hook
YunoHost-Apps/levels https://translate.yunohost.org/api/components/yunohost-apps/levels/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token zwdMySorGyp5jpXbU81bD8fv1vbhQePou8yPOas3" \
    https://translate.yunohost.org/api/projects/yunohost-apps/repository/

Weblate also supports direct notifications from several code hosting sites:

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