Pick a game
Listen to its lines, propose a recording for the ones that have none.
Loading…
API for the games
Open to any origin (CORS), no key needed to read.
GET /api/games | The games: [{ id, titre, description, lang, langs, events, lines, done, progress }] |
GET /api/games/<id>/info | The game: { titre, lang (its base language), langs, progress, … } |
GET /api/games/<id>/<lang> | Its voices.json in a language: each line with its fichier and proposals in that language |
GET /api/games/<id>/<lang>/audio/<fichier> | An audio file of that language (with ranges) |
GET /api/games/<id> | The whole voices.json: each line has langs: { <lang>: { fichier, proposals } } |
/audioprops.js | A client that does it all: AudioProps.connect(id), then trigger(event) — see the demo |