Spoken Dialog Spaced-Repetition System
This server is designed for use with sdsrs-anki-server which in turn uses anki-sync-server. It responds to intents from sdsrs-api.ai.
You need to input an sdsrs-anki-server base URI (IP and port) into a file called api_config.json
. Check api_config.example.json
for an example.
This repository uses Composer for dependency management. You must install the composer dependencies by calling composer install
from within the project's base directory.
The API expects calls from an api.ai Webhook.
The following POST requests formatted in api.ai style are valid:
intent | parameters |
---|---|
list_collections |
None |
add_card |
collection , front , back |
next_card |
collection |
reset_scheduler |
collection |
answer_card |
collection , card_id , answer_ease |