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 |
---|---|---|
StoreHouse5 | http://weblate.ucs.ru/exports/rss/storehouse5/ | RSS |
StoreHouse5/dmctl | http://weblate.ucs.ru/exports/rss/storehouse5/dmctldmctl/ | RSS |
StoreHouse5/domm | http://weblate.ucs.ru/exports/rss/storehouse5/domm/ | RSS |
StoreHouse5/dset | http://weblate.ucs.ru/exports/rss/storehouse5/dset/ | RSS |
StoreHouse5/qushman | http://weblate.ucs.ru/exports/rss/storehouse5/qushman/ | RSS |
StoreHouse5/sdbcli | http://weblate.ucs.ru/exports/rss/storehouse5/sdbcli/ | RSS |
StoreHouse5/sdbman | http://weblate.ucs.ru/exports/rss/storehouse5/sdbman/ | RSS |
StoreHouse5/sh | http://weblate.ucs.ru/exports/rss/storehouse5/sh/ | RSS |
StoreHouse5/sh5licen | http://weblate.ucs.ru/exports/rss/storehouse5/sh5licen/ | RSS |
StoreHouse5/shadm | http://weblate.ucs.ru/exports/rss/storehouse5/shadm/ | RSS |
StoreHouse5/sh_test_json | http://weblate.ucs.ru/exports/rss/storehouse5/sh_test_json/ | 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 |
---|---|---|
StoreHouse5/dmctl | http://weblate.ucs.ru/api/components/storehouse5/dmctldmctl/statistics/ | View |
StoreHouse5/domm | http://weblate.ucs.ru/api/components/storehouse5/domm/statistics/ | View |
StoreHouse5/dset | http://weblate.ucs.ru/api/components/storehouse5/dset/statistics/ | View |
StoreHouse5/qushman | http://weblate.ucs.ru/api/components/storehouse5/qushman/statistics/ | View |
StoreHouse5/sdbcli | http://weblate.ucs.ru/api/components/storehouse5/sdbcli/statistics/ | View |
StoreHouse5/sdbman | http://weblate.ucs.ru/api/components/storehouse5/sdbman/statistics/ | View |
StoreHouse5/sh | http://weblate.ucs.ru/api/components/storehouse5/sh/statistics/ | View |
StoreHouse5/sh5licen | http://weblate.ucs.ru/api/components/storehouse5/sh5licen/statistics/ | View |
StoreHouse5/shadm | http://weblate.ucs.ru/api/components/storehouse5/shadm/statistics/ | View |
StoreHouse5/sh_test_json | http://weblate.ucs.ru/api/components/storehouse5/sh_test_json/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ http://weblate.ucs.ru/api/components/storehouse5/dmctldmctl/translations/
Project | URL | Link |
---|---|---|
StoreHouse5 | http://weblate.ucs.ru/api/projects/storehouse5/repository/ | Hook |
StoreHouse5/dmctl | http://weblate.ucs.ru/api/components/storehouse5/dmctldmctl/repository/ | Hook |
StoreHouse5/domm | http://weblate.ucs.ru/api/components/storehouse5/domm/repository/ | Hook |
StoreHouse5/dset | http://weblate.ucs.ru/api/components/storehouse5/dset/repository/ | Hook |
StoreHouse5/qushman | http://weblate.ucs.ru/api/components/storehouse5/qushman/repository/ | Hook |
StoreHouse5/sdbcli | http://weblate.ucs.ru/api/components/storehouse5/sdbcli/repository/ | Hook |
StoreHouse5/sdbman | http://weblate.ucs.ru/api/components/storehouse5/sdbman/repository/ | Hook |
StoreHouse5/sh | http://weblate.ucs.ru/api/components/storehouse5/sh/repository/ | Hook |
StoreHouse5/sh5licen | http://weblate.ucs.ru/api/components/storehouse5/sh5licen/repository/ | Hook |
StoreHouse5/shadm | http://weblate.ucs.ru/api/components/storehouse5/shadm/repository/ | Hook |
StoreHouse5/sh_test_json | http://weblate.ucs.ru/api/components/storehouse5/sh_test_json/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ http://weblate.ucs.ru/api/projects/storehouse5/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://weblate.ucs.ru/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://weblate.ucs.ru/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://weblate.ucs.ru/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://weblate.ucs.ru/hooks/pagure/ | Browse the documentation for detailed instructions |