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
UBports Docs https://translate.ubports.com/exports/rss/ubports-docs/ RSS
UBports Docs/Documentation: about https://translate.ubports.com/exports/rss/ubports-docs/documentation-about/ RSS
UBports Docs/Documentation: appdev https://translate.ubports.com/exports/rss/ubports-docs/documentation-appdev/ RSS
UBports Docs/Documentation: contribute https://translate.ubports.com/exports/rss/ubports-docs/documentation-contribute/ RSS
UBports Docs/Documentation: index https://translate.ubports.com/exports/rss/ubports-docs/documentation-index/ RSS
UBports Docs/Documentation: porting https://translate.ubports.com/exports/rss/ubports-docs/documentation-porting/ RSS
UBports Docs/Documentation: userguide https://translate.ubports.com/exports/rss/ubports-docs/documentation-userguide/ 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
UBports Docs/Documentation: about https://translate.ubports.com/api/components/ubports-docs/documentation-about/statistics/ View
UBports Docs/Documentation: appdev https://translate.ubports.com/api/components/ubports-docs/documentation-appdev/statistics/ View
UBports Docs/Documentation: contribute https://translate.ubports.com/api/components/ubports-docs/documentation-contribute/statistics/ View
UBports Docs/Documentation: index https://translate.ubports.com/api/components/ubports-docs/documentation-index/statistics/ View
UBports Docs/Documentation: porting https://translate.ubports.com/api/components/ubports-docs/documentation-porting/statistics/ View
UBports Docs/Documentation: userguide https://translate.ubports.com/api/components/ubports-docs/documentation-userguide/statistics/ View

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

curl \
    -H "Authorization: Token TOKEN" \
    https://translate.ubports.com/api/components/ubports-docs/documentation-about/translations/

Notification hooks

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

Project URL Link
UBports Docs https://translate.ubports.com/api/projects/ubports-docs/repository/ Hook
UBports Docs/Documentation: about https://translate.ubports.com/api/components/ubports-docs/documentation-about/repository/ Hook
UBports Docs/Documentation: appdev https://translate.ubports.com/api/components/ubports-docs/documentation-appdev/repository/ Hook
UBports Docs/Documentation: contribute https://translate.ubports.com/api/components/ubports-docs/documentation-contribute/repository/ Hook
UBports Docs/Documentation: index https://translate.ubports.com/api/components/ubports-docs/documentation-index/repository/ Hook
UBports Docs/Documentation: porting https://translate.ubports.com/api/components/ubports-docs/documentation-porting/repository/ Hook
UBports Docs/Documentation: userguide https://translate.ubports.com/api/components/ubports-docs/documentation-userguide/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://translate.ubports.com/api/projects/ubports-docs/repository/

Weblate also supports direct notifications from several code hosting sites:

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