Anki JavaScript API to get cards information in reviewer window
This addon is made to work with AnkiDroid JS API.
https://ankiweb.net/shared/info/1490471827
To know more about the options view AnkiDroid JS API.
pycmd("AnkiJS.ankiGetNewCardCount()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetLrnCardCount()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetRevCardCount()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardMark()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardFlag()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardId()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardNid()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardDid()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardMod()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardType()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardQueue()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardLeft()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardDue()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardInterval()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardFactor()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardReps()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardLapses()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardODue()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetCardODid()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetNextTime1()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetNextTime2()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetNextTime3()", (ret) => {
console.log(ret);
});
pycmd("AnkiJS.ankiGetNextTime4()", (ret) => {
console.log(ret);
});