Getting started with extension API
Ethcode API is exported as a vscode extension API.
Vscode extension developers can use Ethcode API following vscode extension API spec to interact with.
Read more about extension API here - https://code.visualstudio.com/api/references/vscode-api#extensions.
Read more about vscode extension development here - https://code.visualstudio.com/api/get-started/your-first-extension
Add extensionDependencies
to the package.json
file of your extension.
extensionDependencies
to the package.json
file of your extension.Use getExtension
and Ethcode API exports inside your extension.ts
getExtension
and Ethcode API exports inside your extension.ts
Now you can use the api
variable to call ethcode API functions.
api
variable to call ethcode API functions.To Check if API is working or not you can hit status API end point.
Last updated