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 |
|---|---|---|
| Astro Colony | http://astrocolony1.vps.webdock.io/exports/rss/astro-colony/ | RSS |
| Astro Colony/Code | http://astrocolony1.vps.webdock.io/exports/rss/astro-colony/code/ | RSS |
| Astro Colony/Gameplay | http://astrocolony1.vps.webdock.io/exports/rss/astro-colony/game/ | RSS |
| Astro Colony/Tutorial Bot | http://astrocolony1.vps.webdock.io/exports/rss/astro-colony/tutorial-bot/ | 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 |
|---|---|---|
| Astro Colony/Code | http://astrocolony1.vps.webdock.io/api/components/astro-colony/code/statistics/ | View |
| Astro Colony/Gameplay | http://astrocolony1.vps.webdock.io/api/components/astro-colony/game/statistics/ | View |
| Astro Colony/Tutorial Bot | http://astrocolony1.vps.webdock.io/api/components/astro-colony/tutorial-bot/statistics/ | View |
You can fetch statistics for all translations in one component like this:
curl \
-H "Authorization: Token vdLht0Yusp2xejwg8KPqhzont1pxCqHGuTJ8gitd" \
http://astrocolony1.vps.webdock.io/api/components/astro-colony/code/translations/
| Project | URL | Link |
|---|---|---|
| Astro Colony | http://astrocolony1.vps.webdock.io/api/projects/astro-colony/repository/ | Hook |
| Astro Colony/Code | http://astrocolony1.vps.webdock.io/api/components/astro-colony/code/repository/ | Hook |
| Astro Colony/Gameplay | http://astrocolony1.vps.webdock.io/api/components/astro-colony/game/repository/ | Hook |
| Astro Colony/Tutorial Bot | http://astrocolony1.vps.webdock.io/api/components/astro-colony/tutorial-bot/repository/ | Hook |
You pull changes from a remote repository to Weblate like this:
curl \
-d operation=pull \
-H "Authorization: Token vdLht0Yusp2xejwg8KPqhzont1pxCqHGuTJ8gitd" \
http://astrocolony1.vps.webdock.io/api/projects/astro-colony/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | http://astrocolony1.vps.webdock.io/hooks/github/ | The documentation has detailed instructions |
| GitLab | http://astrocolony1.vps.webdock.io/hooks/gitlab/ | The documentation has detailed instructions |
| Bitbucket | http://astrocolony1.vps.webdock.io/hooks/bitbucket/ | The documentation has detailed instructions |
| Pagure | http://astrocolony1.vps.webdock.io/hooks/pagure/ | The documentation has detailed instructions |
| Azure Repos | http://astrocolony1.vps.webdock.io/hooks/azure/ | The documentation has detailed instructions |
| Gitea | http://astrocolony1.vps.webdock.io/hooks/gitea/ | The documentation has detailed instructions |