Various data from Weblate is available in machine-readable format.

RSS feeds

Follow the translation progress and all important changes from RSS feeds.

Project URL Link
Petals App https://hosted.weblate.org/exports/rss/petals-app/ RSS
Petals App/In-App Strings https://hosted.weblate.org/exports/rss/petals-app/strings/ RSS
Petals App/General Knowledge https://hosted.weblate.org/exports/rss/petals-app/general-knowledge/ RSS
Petals App/Legislation and Rights https://hosted.weblate.org/exports/rss/petals-app/legislation-and-rights/ RSS
Petals App/Petals App https://hosted.weblate.org/exports/rss/petals-app/glossary/ RSS
Petals App/App Details https://hosted.weblate.org/exports/rss/petals-app/app-details/ RSS

Per language RSS feeds are also available. Construct them by appending a language code to the URLs above.

Statistics

Translation statistics for every component in JSON format lets you use the data in other websites or tools.

Project URL Link
Petals App/In-App Strings https://hosted.weblate.org/api/components/petals-app/strings/statistics/ View
Petals App/General Knowledge https://hosted.weblate.org/api/components/petals-app/general-knowledge/statistics/ View
Petals App/Legislation and Rights https://hosted.weblate.org/api/components/petals-app/legislation-and-rights/statistics/ View
Petals App/Petals App https://hosted.weblate.org/api/components/petals-app/glossary/statistics/ View
Petals App/App Details https://hosted.weblate.org/api/components/petals-app/app-details/statistics/ View

You can fetch statistics for all translations in one component like this:

curl \
    -H "Authorization: Token byuQ8nzQrVSe8dUNZrxjlAhhlimldUyJktkhumoI" \
    https://hosted.weblate.org/api/components/petals-app/strings/translations/
Project URL Link
Petals App https://hosted.weblate.org/api/projects/petals-app/repository/ Hook
Petals App/In-App Strings https://hosted.weblate.org/api/components/petals-app/strings/repository/ Hook
Petals App/General Knowledge https://hosted.weblate.org/api/components/petals-app/general-knowledge/repository/ Hook
Petals App/Legislation and Rights https://hosted.weblate.org/api/components/petals-app/legislation-and-rights/repository/ Hook
Petals App/Petals App https://hosted.weblate.org/api/components/petals-app/glossary/repository/ Hook
Petals App/App Details https://hosted.weblate.org/api/components/petals-app/app-details/repository/ Hook

You pull changes from a remote repository to Weblate like this:

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

Weblate also supports direct notifications from several code hosting sites:

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