Shangri Lingua
v1.0.0Your saved Chinese, Thai and Japanese words, practice schedule, mistakes and lessons.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_saved_words List my saved words
The words the person saved in Shangri Lingua for one language, newest first, each with its reading, meaning, the sentence it was saved from, and the day it was saved.
| Parameter | Type | Description |
|---|---|---|
language * | string | The language being learned: chinese, thai, japanese, english. |
limit | integer | How many words, 30 if left out. |
offset | integer | How many of the newest words to skip, to read further back. |
save_word Save a word
Saves a word to the person's Shangri Lingua saved words for one language, with its reading and meaning, so it joins their practice in the app. A word already saved is left as it is.
| Parameter | Type | Description |
|---|---|---|
language * | string | The language being learned: chinese, thai, japanese, english. |
meaning * | string | What it means, in the language the person speaks. Short, as a dictionary gives it. |
word * | string | The word, written in the language being learned. |
context | string | The sentence the word came from, if there is one. |
reading | string | How it's read: pinyin for Chinese, kana for Japanese, romanization for Thai. Leave out for English. |
words_due_for_practice Words due for practice
The person's saved words that are due for review now in one language, most overdue first, then a few saved words never practised yet. Each has its reading, meaning and how far along the review schedule it is.
| Parameter | Type | Description |
|---|---|---|
language * | string | The language being learned: chinese, thai, japanese, english. |
limit | integer | How many words, 10 if left out. |
record_practice_result Record a practice result
Records that the person got one of their saved words right or wrong, which moves it along Shangri Lingua's review schedule: right and it comes back later, wrong and it comes back soon.
| Parameter | Type | Description |
|---|---|---|
correct * | boolean | True when they got it right, false when they didn't. |
language * | string | The language being learned: chinese, thai, japanese, english. |
word * | string | The saved word, exactly as list_saved_words or words_due_for_practice gave it. |
list_my_mistakes List my mistakes
The mistakes Shangri Lingua's proofreader found in messages the person wrote in one language, newest first: what they wrote, the correction, the kind of mistake and why.
| Parameter | Type | Description |
|---|---|---|
language * | string | The language being learned: chinese, thai, japanese, english. |
limit | integer | How many mistakes, 20 if left out. |
list_my_lessons List my lessons
The lessons Shangri Lingua wrote for the person in one language from their own words and mistakes, newest first: each one's title, what it teaches, and its id. With an id, that one lesson in full: its dialogue, its grammar point with examples, and its exercises.
| Parameter | Type | Description |
|---|---|---|
language * | string | The language being learned: chinese, thai, japanese, english. |
id | string | A lesson's id from this list, to read that lesson in full. |
limit | integer | How many lessons to list, 10 if left out. |