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
Captain of Industry https://translate.captain-of-industry.com/exports/rss/captain-of-industry/ RSS
Captain of Industry/Game https://translate.captain-of-industry.com/exports/rss/captain-of-industry/game/ RSS
Captain of Industry/Steam page https://translate.captain-of-industry.com/exports/rss/captain-of-industry/steam-page/ RSS
Captain of Industry/Patch notes https://translate.captain-of-industry.com/exports/rss/captain-of-industry/patch-notes/ RSS
Captain of Industry/Glossary https://translate.captain-of-industry.com/exports/rss/captain-of-industry/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
Captain of Industry/Game https://translate.captain-of-industry.com/api/components/captain-of-industry/game/statistics/ View
Captain of Industry/Steam page https://translate.captain-of-industry.com/api/components/captain-of-industry/steam-page/statistics/ View
Captain of Industry/Patch notes https://translate.captain-of-industry.com/api/components/captain-of-industry/patch-notes/statistics/ View
Captain of Industry/Glossary https://translate.captain-of-industry.com/api/components/captain-of-industry/glossary/statistics/ View

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

curl \
    -H "Authorization: Token 2wedQQMBc57BapO9qvWRZpQQAP1Sru8t9P6WuWON" \
    https://translate.captain-of-industry.com/api/components/captain-of-industry/game/translations/
Project URL Link
Captain of Industry https://translate.captain-of-industry.com/api/projects/captain-of-industry/repository/ Hook
Captain of Industry/Game https://translate.captain-of-industry.com/api/components/captain-of-industry/game/repository/ Hook
Captain of Industry/Steam page https://translate.captain-of-industry.com/api/components/captain-of-industry/steam-page/repository/ Hook
Captain of Industry/Patch notes https://translate.captain-of-industry.com/api/components/captain-of-industry/patch-notes/repository/ Hook
Captain of Industry/Glossary https://translate.captain-of-industry.com/api/components/captain-of-industry/glossary/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token 2wedQQMBc57BapO9qvWRZpQQAP1Sru8t9P6WuWON" \
    https://translate.captain-of-industry.com/api/projects/captain-of-industry/repository/

Weblate also supports direct notifications from several code hosting sites:

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