anki-connect/actions/statistics.md

793 B

Statistic Actions

  • getNumCardsReviewedToday

    Gets the count of cards that have been reviewed in the current day (with day start time as configured by user in anki)

    Sample request:

    {
        "action": "getNumCardsReviewedToday",
        "version": 6
    }
    

    Sample result:

    {
        "result": 0,
        "error": null
    }
    
  • getCollectionStatsHTML

    Gets the collection statistics report

    Sample request:

    {
        "action": "getCollectionStatsHTML",
        "version": 6,
        "params": {
            "wholeCollection": true
        }
    }
    

    Sample result:

    {
        "error": null,
        "result": "<center> lots of HTML here </center>"
    }