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
Music Blocks http://weblate.sugarlabs.org/exports/rss/music-blocks/ RSS
Music Blocks/Music blocks http://weblate.sugarlabs.org/exports/rss/music-blocks/music-blocks/ RSS
Music Blocks/Glossary http://weblate.sugarlabs.org/exports/rss/music-blocks/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
Music Blocks/Music blocks http://weblate.sugarlabs.org/api/components/music-blocks/music-blocks/statistics/ View
Music Blocks/Glossary http://weblate.sugarlabs.org/api/components/music-blocks/glossary/statistics/ View

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

curl \
    -H "Authorization: Token wlu_eKlwZttPKfbebUt4ZL0OMKdUZqqdCGpVijLy" \
    http://weblate.sugarlabs.org/api/components/music-blocks/music-blocks/translations/
Project URL Link
Music Blocks http://weblate.sugarlabs.org/api/projects/music-blocks/repository/ Hook
Music Blocks/Music blocks http://weblate.sugarlabs.org/api/components/music-blocks/music-blocks/repository/ Hook
Music Blocks/Glossary http://weblate.sugarlabs.org/api/components/music-blocks/glossary/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token wlu_eKlwZttPKfbebUt4ZL0OMKdUZqqdCGpVijLy" \
    http://weblate.sugarlabs.org/api/projects/music-blocks/repository/

Weblate also supports direct notifications from several code hosting sites:

Hosting site URL Note
GitHub http://weblate.sugarlabs.org/hooks/github/ The documentation has detailed instructions
GitLab http://weblate.sugarlabs.org/hooks/gitlab/ The documentation has detailed instructions
Bitbucket http://weblate.sugarlabs.org/hooks/bitbucket/ The documentation has detailed instructions
Pagure http://weblate.sugarlabs.org/hooks/pagure/ The documentation has detailed instructions
Azure Repos http://weblate.sugarlabs.org/hooks/azure/ The documentation has detailed instructions
Gitea http://weblate.sugarlabs.org/hooks/gitea/ The documentation has detailed instructions