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 |
|---|---|---|
| Protegus | https://weblate.protegus.eu/exports/rss/protegus/ | RSS |
| Protegus/auth | https://weblate.protegus.eu/exports/rss/protegus/auth/ | RSS |
| Protegus/dashboard | https://weblate.protegus.eu/exports/rss/protegus/dashboard/ | RSS |
| Protegus/eventNames | https://weblate.protegus.eu/exports/rss/protegus/eventnames/ | RSS |
| Protegus/events | https://weblate.protegus.eu/exports/rss/protegus/events/ | RSS |
| Protegus/general | https://weblate.protegus.eu/exports/rss/protegus/general/ | RSS |
| Protegus/help | https://weblate.protegus.eu/exports/rss/protegus/help/ | RSS |
| Protegus/language | https://weblate.protegus.eu/exports/rss/protegus/language/ | RSS |
| Protegus/mail | https://weblate.protegus.eu/exports/rss/protegus/mail/ | RSS |
| Protegus/mobileapp | https://weblate.protegus.eu/exports/rss/protegus/mobileapp/ | RSS |
| Protegus/pagination | https://weblate.protegus.eu/exports/rss/protegus/pagination/ | RSS |
| Protegus/passwords | https://weblate.protegus.eu/exports/rss/protegus/passwords/ | RSS |
| Protegus/reactionNames | https://weblate.protegus.eu/exports/rss/protegus/reactionnames/ | RSS |
| Protegus/sensors | https://weblate.protegus.eu/exports/rss/protegus/sensors/ | RSS |
| Protegus/settings | https://weblate.protegus.eu/exports/rss/protegus/settings/ | RSS |
| Protegus/setup | https://weblate.protegus.eu/exports/rss/protegus/setup/ | RSS |
| Protegus/subscription | https://weblate.protegus.eu/exports/rss/protegus/subscription/ | RSS |
| Protegus/subscriptions | https://weblate.protegus.eu/exports/rss/protegus/subscriptions/ | RSS |
| Protegus/systems | https://weblate.protegus.eu/exports/rss/protegus/systems/ | RSS |
| Protegus/users | https://weblate.protegus.eu/exports/rss/protegus/users/ | RSS |
| Protegus/validation | https://weblate.protegus.eu/exports/rss/protegus/validation/ | 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 |
|---|---|---|
| Protegus/auth | https://weblate.protegus.eu/api/components/protegus/auth/statistics/ | View |
| Protegus/dashboard | https://weblate.protegus.eu/api/components/protegus/dashboard/statistics/ | View |
| Protegus/eventNames | https://weblate.protegus.eu/api/components/protegus/eventnames/statistics/ | View |
| Protegus/events | https://weblate.protegus.eu/api/components/protegus/events/statistics/ | View |
| Protegus/general | https://weblate.protegus.eu/api/components/protegus/general/statistics/ | View |
| Protegus/help | https://weblate.protegus.eu/api/components/protegus/help/statistics/ | View |
| Protegus/language | https://weblate.protegus.eu/api/components/protegus/language/statistics/ | View |
| Protegus/mail | https://weblate.protegus.eu/api/components/protegus/mail/statistics/ | View |
| Protegus/mobileapp | https://weblate.protegus.eu/api/components/protegus/mobileapp/statistics/ | View |
| Protegus/pagination | https://weblate.protegus.eu/api/components/protegus/pagination/statistics/ | View |
| Protegus/passwords | https://weblate.protegus.eu/api/components/protegus/passwords/statistics/ | View |
| Protegus/reactionNames | https://weblate.protegus.eu/api/components/protegus/reactionnames/statistics/ | View |
| Protegus/sensors | https://weblate.protegus.eu/api/components/protegus/sensors/statistics/ | View |
| Protegus/settings | https://weblate.protegus.eu/api/components/protegus/settings/statistics/ | View |
| Protegus/setup | https://weblate.protegus.eu/api/components/protegus/setup/statistics/ | View |
| Protegus/subscription | https://weblate.protegus.eu/api/components/protegus/subscription/statistics/ | View |
| Protegus/subscriptions | https://weblate.protegus.eu/api/components/protegus/subscriptions/statistics/ | View |
| Protegus/systems | https://weblate.protegus.eu/api/components/protegus/systems/statistics/ | View |
| Protegus/users | https://weblate.protegus.eu/api/components/protegus/users/statistics/ | View |
| Protegus/validation | https://weblate.protegus.eu/api/components/protegus/validation/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \
-H "Authorization: Token sQfOBVker13fzqVeNjyWBzJQtJdnBkZTAVw2X1u3" \
https://weblate.protegus.eu/api/components/protegus/auth/translations/
| Project | URL | Link |
|---|---|---|
| Protegus | https://weblate.protegus.eu/api/projects/protegus/repository/ | Hook |
| Protegus/auth | https://weblate.protegus.eu/api/components/protegus/auth/repository/ | Hook |
| Protegus/dashboard | https://weblate.protegus.eu/api/components/protegus/dashboard/repository/ | Hook |
| Protegus/eventNames | https://weblate.protegus.eu/api/components/protegus/eventnames/repository/ | Hook |
| Protegus/events | https://weblate.protegus.eu/api/components/protegus/events/repository/ | Hook |
| Protegus/general | https://weblate.protegus.eu/api/components/protegus/general/repository/ | Hook |
| Protegus/help | https://weblate.protegus.eu/api/components/protegus/help/repository/ | Hook |
| Protegus/language | https://weblate.protegus.eu/api/components/protegus/language/repository/ | Hook |
| Protegus/mail | https://weblate.protegus.eu/api/components/protegus/mail/repository/ | Hook |
| Protegus/mobileapp | https://weblate.protegus.eu/api/components/protegus/mobileapp/repository/ | Hook |
| Protegus/pagination | https://weblate.protegus.eu/api/components/protegus/pagination/repository/ | Hook |
| Protegus/passwords | https://weblate.protegus.eu/api/components/protegus/passwords/repository/ | Hook |
| Protegus/reactionNames | https://weblate.protegus.eu/api/components/protegus/reactionnames/repository/ | Hook |
| Protegus/sensors | https://weblate.protegus.eu/api/components/protegus/sensors/repository/ | Hook |
| Protegus/settings | https://weblate.protegus.eu/api/components/protegus/settings/repository/ | Hook |
| Protegus/setup | https://weblate.protegus.eu/api/components/protegus/setup/repository/ | Hook |
| Protegus/subscription | https://weblate.protegus.eu/api/components/protegus/subscription/repository/ | Hook |
| Protegus/subscriptions | https://weblate.protegus.eu/api/components/protegus/subscriptions/repository/ | Hook |
| Protegus/systems | https://weblate.protegus.eu/api/components/protegus/systems/repository/ | Hook |
| Protegus/users | https://weblate.protegus.eu/api/components/protegus/users/repository/ | Hook |
| Protegus/validation | https://weblate.protegus.eu/api/components/protegus/validation/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \
-d operation=pull \
-H "Authorization: Token sQfOBVker13fzqVeNjyWBzJQtJdnBkZTAVw2X1u3" \
https://weblate.protegus.eu/api/projects/protegus/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | https://weblate.protegus.eu/hooks/github/ | Browse the documentation for detailed instructions |
| GitLab | https://weblate.protegus.eu/hooks/gitlab/ | Browse the documentation for detailed instructions |
| Bitbucket | https://weblate.protegus.eu/hooks/bitbucket/ | Browse the documentation for detailed instructions |
| Pagure | https://weblate.protegus.eu/hooks/pagure/ | Browse the documentation for detailed instructions |