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
PeeringDB https://translate.peeringdb.com/exports/rss/peeringdb/ RSS
PeeringDB/Javascript https://translate.peeringdb.com/exports/rss/peeringdb/javascript/ RSS
PeeringDB/Server https://translate.peeringdb.com/exports/rss/peeringdb/server/ RSS
PeeringDB/PeeringDB https://translate.peeringdb.com/exports/rss/peeringdb/glossary/ 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
PeeringDB/Javascript https://translate.peeringdb.com/api/components/peeringdb/javascript/statistics/ View
PeeringDB/Server https://translate.peeringdb.com/api/components/peeringdb/server/statistics/ View
PeeringDB/PeeringDB https://translate.peeringdb.com/api/components/peeringdb/glossary/statistics/ View

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

curl \
    -H "Authorization: Token bkxeRqvGih2kb6nsjffXdzx38uknixgb8QJMRkph" \
    https://translate.peeringdb.com/api/components/peeringdb/javascript/translations/
Project URL Link
PeeringDB https://translate.peeringdb.com/api/projects/peeringdb/repository/ Hook
PeeringDB/Javascript https://translate.peeringdb.com/api/components/peeringdb/javascript/repository/ Hook
PeeringDB/Server https://translate.peeringdb.com/api/components/peeringdb/server/repository/ Hook
PeeringDB/PeeringDB https://translate.peeringdb.com/api/components/peeringdb/glossary/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token bkxeRqvGih2kb6nsjffXdzx38uknixgb8QJMRkph" \
    https://translate.peeringdb.com/api/projects/peeringdb/repository/

Weblate also supports direct notifications from several code hosting sites:

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