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
PeerTube https://weblate.framasoft.org/exports/rss/peertube/ RSS
PeerTube/angular https://weblate.framasoft.org/exports/rss/peertube/angular/ RSS
PeerTube/player https://weblate.framasoft.org/exports/rss/peertube/player/ RSS
PeerTube/server https://weblate.framasoft.org/exports/rss/peertube/server/ 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
PeerTube/angular https://weblate.framasoft.org/api/components/peertube/angular/statistics/ View
PeerTube/player https://weblate.framasoft.org/api/components/peertube/player/statistics/ View
PeerTube/server https://weblate.framasoft.org/api/components/peertube/server/statistics/ View

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

curl \
    -H "Authorization: Token dz1cmtBfIHaB2iYNVQHswS5xIefs9PcuXDC3TXXS" \
    https://weblate.framasoft.org/api/components/peertube/angular/translations/
Project URL Link
PeerTube https://weblate.framasoft.org/api/projects/peertube/repository/ Hook
PeerTube/angular https://weblate.framasoft.org/api/components/peertube/angular/repository/ Hook
PeerTube/player https://weblate.framasoft.org/api/components/peertube/player/repository/ Hook
PeerTube/server https://weblate.framasoft.org/api/components/peertube/server/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token dz1cmtBfIHaB2iYNVQHswS5xIefs9PcuXDC3TXXS" \
    https://weblate.framasoft.org/api/projects/peertube/repository/

Weblate also supports direct notifications from several code hosting sites:

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