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
cockpit https://translate.fedoraproject.org/exports/rss/cockpit/ RSS
cockpit/master https://translate.fedoraproject.org/exports/rss/cockpit/master/ RSS
cockpit/rhel-7 https://translate.fedoraproject.org/exports/rss/cockpit/rhel-7/ RSS
cockpit/rhel8 https://translate.fedoraproject.org/exports/rss/cockpit/rhel8/ RSS
cockpit/rhel-8.2 https://translate.fedoraproject.org/exports/rss/cockpit/rhel-8-2/ 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
cockpit/master https://translate.fedoraproject.org/api/components/cockpit/master/statistics/ View
cockpit/rhel-7 https://translate.fedoraproject.org/api/components/cockpit/rhel-7/statistics/ View
cockpit/rhel8 https://translate.fedoraproject.org/api/components/cockpit/rhel8/statistics/ View
cockpit/rhel-8.2 https://translate.fedoraproject.org/api/components/cockpit/rhel-8-2/statistics/ View

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

curl \
    -H "Authorization: Token Lj2jCWZa6HY1ndR334jkp7wGy4tABBoX8HlhuGNn" \
    https://translate.fedoraproject.org/api/components/cockpit/master/translations/
Project URL Link
cockpit https://translate.fedoraproject.org/api/projects/cockpit/repository/ Hook
cockpit/master https://translate.fedoraproject.org/api/components/cockpit/master/repository/ Hook
cockpit/rhel-7 https://translate.fedoraproject.org/api/components/cockpit/rhel-7/repository/ Hook
cockpit/rhel8 https://translate.fedoraproject.org/api/components/cockpit/rhel8/repository/ Hook
cockpit/rhel-8.2 https://translate.fedoraproject.org/api/components/cockpit/rhel-8-2/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token Lj2jCWZa6HY1ndR334jkp7wGy4tABBoX8HlhuGNn" \
    https://translate.fedoraproject.org/api/projects/cockpit/repository/

Weblate also supports direct notifications from several code hosting sites:

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