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 |
|---|---|---|
| Guitar and Violin Tuner | http://weblate.a4tune.com/exports/rss/guitar-and-violin-tuner/ | RSS |
| Guitar and Violin Tuner/Description | http://weblate.a4tune.com/exports/rss/guitar-and-violin-tuner/description/ | RSS |
| Guitar and Violin Tuner/Help | http://weblate.a4tune.com/exports/rss/guitar-and-violin-tuner/help/ | RSS |
| Guitar and Violin Tuner/User Interface | http://weblate.a4tune.com/exports/rss/guitar-and-violin-tuner/user-interface/ | 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 |
|---|---|---|
| Guitar and Violin Tuner/Description | http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/description/statistics/ | View |
| Guitar and Violin Tuner/Help | http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/help/statistics/ | View |
| Guitar and Violin Tuner/User Interface | http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/user-interface/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \
-H "Authorization: Token bshXpxpDrSTVhf7ETMVkuaGrVGjmjva5gTNcJGop" \
http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/description/translations/
| Project | URL | Link |
|---|---|---|
| Guitar and Violin Tuner | http://weblate.a4tune.com/api/projects/guitar-and-violin-tuner/repository/ | Hook |
| Guitar and Violin Tuner/Description | http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/description/repository/ | Hook |
| Guitar and Violin Tuner/Help | http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/help/repository/ | Hook |
| Guitar and Violin Tuner/User Interface | http://weblate.a4tune.com/api/components/guitar-and-violin-tuner/user-interface/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \
-d operation=pull \
-H "Authorization: Token bshXpxpDrSTVhf7ETMVkuaGrVGjmjva5gTNcJGop" \
http://weblate.a4tune.com/api/projects/guitar-and-violin-tuner/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | http://weblate.a4tune.com/hooks/github/ | Browse the documentation for detailed instructions |
| GitLab | http://weblate.a4tune.com/hooks/gitlab/ | Browse the documentation for detailed instructions |
| Bitbucket | http://weblate.a4tune.com/hooks/bitbucket/ | Browse the documentation for detailed instructions |
| Pagure | http://weblate.a4tune.com/hooks/pagure/ | Browse the documentation for detailed instructions |
| Azure Repos | http://weblate.a4tune.com/hooks/azure/ | Browse the documentation for detailed instructions |
| Gitea | http://weblate.a4tune.com/hooks/gitea/ | Browse the documentation for detailed instructions |