Commit Graph

191 Commits

Author SHA1 Message Date
Ren Tatsumoto
58283bdeb5 add a new action: getMediaDirPath 2023-03-21 19:47:31 +03:00
david
48650d940f
Update described result from createModel api
I have been working on a wrapper for anki-connect in go. It serializes the requests into a typed Go struct. To create these structs I have been using the types present in the provided examples of api results. It looks like the format of the id for createModel result has either changed, or was entered wrong. See f3e9a5b709 for an example of what the current version of anki + anki-connect returns for this api call
2023-02-22 10:07:38 -08:00
kentonself
e13ca6116c Changed the way to bind to an address other than the default 127.0.0.1
The code does not look at ANKICONNECT_BIND_ADDRESS in the environment.
It gets it from the config.json which can be editted from the Tools
menu.
2023-02-18 14:08:11 -06:00
Austin Siew
4b4e07786e turned all 'Sample Request:' -> 'Sample request:' 2023-01-13 23:11:27 -07:00
Austin Siew
db7f014ac9 fixed dangling </details> 2023-01-13 23:06:06 -07:00
Austin Siew
91fc1d6fde reformatted readme to hide sample requests/results, and moved actions to h4 divs 2023-01-13 22:39:22 -07:00
Austin Siew
5e527680d9 accidentally removed modelFieldRemove from the README, reverted 2022-12-28 19:34:21 -07:00
Austin Siew
69baea296a added tests & documentation, removed dead code 2022-12-28 18:37:05 -07:00
Alexei Yatskov
ae8ac9cf18
Merge pull request #365 from Aquafina-water-bottle/master
Updated documentation on multi
2022-12-18 19:44:40 -08:00
Austin Siew
aa42480d7a updated README with multi version 6 examples 2022-12-16 19:14:14 -07:00
Austin Siew
09d22cc507 updated documentation on multi 2022-12-06 02:36:09 -07:00
introt
336dc8bb31 Added modelFieldDescriptions
Similar to modelFieldNames, returns a list of
note field decriptions (the text seen in the gui
editor when the field is empty)
2022-11-26 14:56:34 +02:00
Austin Siew
a8905a4c22 getReviewsOfCards: changed inner lists into dictionaries, removed cid within the inner list 2022-09-20 17:46:26 -06:00
Austin Siew
7cf38106b3 changed getReviewsOfCard -> getReviewsOfCards, changed result to be formatted in a dictionary rather than a list 2022-09-13 17:25:14 -06:00
Austin Siew
c0c922d27c changed getReviewsOfCard -> getReviewsOfCards, changed result to be formatted in a dictionary rather than a list 2022-09-13 17:12:20 -06:00
Alexei Yatskov
9f76e5fff2
Merge pull request #348 from Aquafina-water-bottle/issue_82_documentation
README changes: Issue 82 documentation
2022-09-11 10:59:18 -07:00
Austin Siew
6e4bbfa0d6 Added getReviewsOfCard 2022-09-05 00:29:03 -06:00
Austin Siew
d9c01327a4 fixed warning message 2022-08-22 00:06:50 -06:00
Austin Siew
127a34c2d0 added warning 2022-08-22 00:05:19 -06:00
Austin Siew
3b10dbc27f typos 2022-08-22 00:00:15 -06:00
Austin Siew
db2e7f2e95 added documentation 2022-08-17 12:50:22 -06:00
Austin Siew
8ec078393a removed the bulk action in favor of the already existing 'multi' action 2022-08-16 19:35:32 -06:00
Austin Siew
cb52e14497 Added sample requests to field name actions 2022-08-16 19:30:36 -06:00
Austin Siew
ebdca1db6b Added model field name api points and skeleton documentation to README 2022-08-16 19:23:09 -06:00
Steven T. Cramer
4010293efa
Add PowerShell example to Readme.
Now that PowerShell is cross platform it is my go to shell.  Thought I would add an example to the readme.
2022-07-25 11:49:55 +07:00
07ddcead5e Remove metadata from README 2022-07-14 13:17:33 -07:00
toasted-nutbread
0d0962319a Add documentation 2022-05-20 17:08:35 -04:00
郑佩茹
137554f522 Add getDeckStats action 2022-05-03 15:59:33 -06:00
introt
81fccbfac6 requestPermission: improve UX & docs (#312)
* requestPermission: change Ignore button to checkbox

* Update requestPermission documentation

- describe the possible results
- document ignoreOriginList
2022-04-25 20:10:36 -07:00
oakkitten
c53aa86a0d Ignore option closeAfterAdding of guiAddCards
The functionality was broken, creating a dialog that was not,
in fact, closing after adding a card.

See the deleted comment in `test_graphical.py`
2022-04-11 02:28:25 +01:00
oakkitten
8aa5fdd1de Add api method guiEditNote 2022-04-11 02:28:25 +01:00
oakkitten
d6061affad Remove api method updateCompleteDeck
This method was broken and there are no issues regarding it on GitHub.
2022-04-07 09:48:37 +01:00
oakkitten
baed642489 Fix api method deleteDecks
The method was failing due to Anki API changes.

Also, make it mandatory to call the method with `cardsToo=True`,
since deleting decks on Anki >= 2.1.28 without cards is
no longer supported, and the deprecated `decks.rem()` method
on Anki >= 2.1.45 ignores keyword arguments.
2022-04-07 09:48:37 +01:00
thiswillbeyourgithub
54a7105bf9
implement setSpecificValueOfCard for user @TobiasWehrum (#303)
Co-authored-by: thiswillbeyourgithub <github@32mail.33mail.comm>
2022-02-22 18:31:43 -08:00
1db646c13e Update README 2021-12-16 08:51:35 -08:00
ed324caf16 Update README 2021-12-15 18:01:09 -08:00
1d35bdbbc0 Add site metadata 2021-12-14 16:57:05 -08:00
penginsan
064fbef413
Add guiSelectedNotes action (#292) 2021-12-06 08:59:10 -08:00
introt
ca60bf6c61
Clean up curl example (#289) 2021-09-26 10:41:04 -07:00
Jeff
ea35fe549a
Fix typo in readme (#285) 2021-09-06 11:44:07 -07:00
Twinov
b880463f52
Update README.md (#281)
The searching documentation seems to have moved.
2021-08-24 20:55:45 -07:00
thiswillbeyourgithub
2d08fdd5e5
feat: cardsInfo now also returns the modification time (#279)
* feat: cardsInfo now also returns the modification time

* minor: wrong indentation

* new method: get modification time of cards

* docs: mentions new method cardsModTime

* docs: readme now mentions that modification time is in the result from cardsInfo

Co-authored-by: thiswillbeyourgithub <github@32mail.33mail.comm>
2021-08-24 20:55:23 -07:00
Andreas
9e4d590aa0
Update README.md (#274) 2021-07-15 23:08:39 -07:00
a34c1de0b4 Minor tweaks to readme 2021-07-13 17:58:27 -07:00
NSBum
8404bd782d
Added guiCheckDatabase action and fix #202 in saveDeckConfig (#271)
* Added guiCheckDatabase action

This action initiates a check database action in Anki but doesn’t wait for the action to complete before returning.

* Fixed #202 no dconf attribute in saveDeckConfig

Anki manages access to deck configuration differently now. This adapts saveDeckConfig to new style of access.
2021-07-13 17:55:22 -07:00
toasted-nutbread
2150940c7e
More create note duplicate options (#269)
* Simplify access to note['options']

* Add checkAllModels option

* Update documentation
2021-07-12 19:46:22 -07:00
Jason Won
591ac06aa3
allow guiAddCards to add media (#266)
* add media to editing note

* update readme
2021-06-20 20:35:09 -07:00
689cbf2d86 Update README 2021-06-08 20:50:53 -07:00
c9f0cc61c3 Update README 2021-06-08 20:42:38 -07:00
DegrangeM
1a08d79454
Fix documentation (#253) 2021-05-05 22:31:26 -07:00