diff --git a/README.md b/README.md index d953ee3..4902ddf 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ with the latest stable (2.1.x) releases of Anki; older versions (2.0.x and below * [Sample Invocation](#sample-invocation) * [Supported Actions](#supported-actions) * [Miscellaneous](#miscellaneous) + * [Statistics](#statistics) * [Decks](#decks) * [Models](#models) * [Notes](#notes) @@ -297,26 +298,6 @@ guarantee that your application continues to function properly in the future. } ``` -* **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*: - ```json - { - "action": "getNumCardsReviewedToday", - "version": 6 - } - ``` - - *Sample result*: - ```json - { - "result": 0, - "error": null - } - ``` - * **exportPackage** Exports a given deck in `.apkg` format. Returns `true` if successful or `false` otherwise. The optional property @@ -367,6 +348,48 @@ guarantee that your application continues to function properly in the future. } ``` +#### Statistics + +* **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*: + ```json + { + "action": "getNumCardsReviewedToday", + "version": 6 + } + ``` + + *Sample result*: + ```json + { + "result": 0, + "error": null + } + ``` + +* **getCollectionStatsHTML** + + Gets the collection statistics report + + *Sample request*: + ```json + { + "action": "getCollectionStatsHTML", + "version": 6 + } + ``` + + *Sample result*: + ```json + { + "error": null, + "result": "