Adding version query API

This commit is contained in:
Alex Yatskov 2016-05-29 15:49:38 -07:00
parent a623e97ebc
commit b9d2bfbe12

View File

@ -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
#