1
1
mirror of https://github.com/codota/TabNine.git synced 2024-08-16 13:30:53 +03:00

Update HowToWriteAClient.md

This commit is contained in:
amircodota 2021-01-18 22:03:23 +02:00 committed by GitHub
parent 0d1dcef557
commit c6c2ee071a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,8 @@ if sublime.platform() == "osx":
return "arm64"
```
Even running uname on rosetta [can get a little tricky](https://github.com/codota/TabNine/issues/326), so test it well.
# API Specification
Each request to TabNine must be a JSON object followed by a newline. The JSON object must be a dictionary containing the fields `version` and `request`. `version` should be a string corresponding to a TabNine version. The field `request` must be a dictionary with a single key. The key must be one of the following: