Adding version query API
This commit is contained in:
parent
a623e97ebc
commit
b9d2bfbe12
@ -23,6 +23,13 @@ import select
|
||||
import socket
|
||||
|
||||
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
|
||||
API_VERSION = 1
|
||||
|
||||
|
||||
#
|
||||
# AjaxRequest
|
||||
#
|
||||
@ -344,6 +351,10 @@ class AnkiConnect:
|
||||
return features
|
||||
|
||||
|
||||
def api_version(self):
|
||||
return API_VERSION
|
||||
|
||||
|
||||
#
|
||||
# Entry
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user