FooSoft / anki-connect

Anki plugin to expose a remote API for creating flash cards.
https://foosoft.net/projects/anki-connect/
Other
1.92k stars 218 forks source link

Update described result from createModel api #377

Closed dlangevi closed 1 year ago

dlangevi commented 1 year ago

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 https://github.com/dlangevi/ankiconnect/commit/f3e9a5b709b9c3fceff4b312c92a3e342e8e944c for an example of what the current version of anki + anki-connect returns for this api call

FooSoft commented 1 year ago

Cool, I love Go :)

Thanks for the fix!