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
OpenToonz https://hosted.weblate.org/exports/rss/opentoonz/ RSS
OpenToonz/colorfx https://hosted.weblate.org/exports/rss/opentoonz/colorfx/ RSS
OpenToonz/image https://hosted.weblate.org/exports/rss/opentoonz/image/ RSS
OpenToonz/tnzcore https://hosted.weblate.org/exports/rss/opentoonz/tnzcore/ RSS
OpenToonz/tnztools https://hosted.weblate.org/exports/rss/opentoonz/tnztools/ RSS
OpenToonz/toonz https://hosted.weblate.org/exports/rss/opentoonz/toonz/ RSS
OpenToonz/toonzlib https://hosted.weblate.org/exports/rss/opentoonz/toonzlib/ RSS
OpenToonz/toonzqt https://hosted.weblate.org/exports/rss/opentoonz/toonzqt/ 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
OpenToonz/colorfx https://hosted.weblate.org/api/components/opentoonz/colorfx/statistics/ View
OpenToonz/image https://hosted.weblate.org/api/components/opentoonz/image/statistics/ View
OpenToonz/tnzcore https://hosted.weblate.org/api/components/opentoonz/tnzcore/statistics/ View
OpenToonz/tnztools https://hosted.weblate.org/api/components/opentoonz/tnztools/statistics/ View
OpenToonz/toonz https://hosted.weblate.org/api/components/opentoonz/toonz/statistics/ View
OpenToonz/toonzlib https://hosted.weblate.org/api/components/opentoonz/toonzlib/statistics/ View
OpenToonz/toonzqt https://hosted.weblate.org/api/components/opentoonz/toonzqt/statistics/ View

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

curl \
    -H "Authorization: Token byuQ8nzQrVSe8dUNZrxjlAhhlimldUyJktkhumoI" \
    https://hosted.weblate.org/api/components/opentoonz/colorfx/translations/
Project URL Link
OpenToonz https://hosted.weblate.org/api/projects/opentoonz/repository/ Hook
OpenToonz/colorfx https://hosted.weblate.org/api/components/opentoonz/colorfx/repository/ Hook
OpenToonz/image https://hosted.weblate.org/api/components/opentoonz/image/repository/ Hook
OpenToonz/tnzcore https://hosted.weblate.org/api/components/opentoonz/tnzcore/repository/ Hook
OpenToonz/tnztools https://hosted.weblate.org/api/components/opentoonz/tnztools/repository/ Hook
OpenToonz/toonz https://hosted.weblate.org/api/components/opentoonz/toonz/repository/ Hook
OpenToonz/toonzlib https://hosted.weblate.org/api/components/opentoonz/toonzlib/repository/ Hook
OpenToonz/toonzqt https://hosted.weblate.org/api/components/opentoonz/toonzqt/repository/ Hook

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

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

Weblate also supports direct notifications from several code hosting sites:

Hosting site URL Note
GitHub https://hosted.weblate.org/hooks/github/ Browse the documentation for detailed instructions
GitLab https://hosted.weblate.org/hooks/gitlab/ Browse the documentation for detailed instructions
Bitbucket https://hosted.weblate.org/hooks/bitbucket/ Browse the documentation for detailed instructions
Pagure https://hosted.weblate.org/hooks/pagure/ Browse the documentation for detailed instructions
Azure Repos https://hosted.weblate.org/hooks/azure/ Browse the documentation for detailed instructions
Gitea https://hosted.weblate.org/hooks/gitea/ Browse the documentation for detailed instructions