You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This SDK is compatible with Appwrite server version 0.7.0. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-node/releases).**
6
+
**This SDK is compatible with Appwrite server version 0.7.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-node/releases).**
7
7
8
8
> This is the Node.js SDK for integrating with Appwrite from your Node.js server-side code.
9
9
If you're looking to integrate from the browser, you should check [appwrite/sdk-for-web](https://github.com/appwrite/sdk-for-web)
@@ -22,6 +22,69 @@ To install via [NPM](https://www.npmjs.com/):
22
22
npm install node-appwrite --save
23
23
```
24
24
25
+
26
+
## Getting Started
27
+
28
+
### Init your SDK
29
+
Initialize your SDK code with your project ID which can be found in your project settings page and your new API secret Key project API keys section.
30
+
31
+
```js
32
+
constsdk=require('node-appwrite');
33
+
34
+
let client =newsdk.Client();
35
+
36
+
client
37
+
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
38
+
.setProject('5df5acd0d48c2') // Your project ID
39
+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
40
+
;
41
+
```
42
+
43
+
### Make Your First Request
44
+
Once your SDK object is set, create any of the Appwrite service objects and choose any request to send. Full documentation for any service method you would like to use can be found in your SDK documentation or in the API References section.
This library is auto-generated by Appwrite custom [SDK Generator](https://github.com/appwrite/sdk-generator). To learn more about how you can help us improve this SDK, please check the [contribution guide](https://github.com/appwrite/sdk-generator/blob/master/CONTRIBUTING.md) before sending a pull-request.
Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "node-appwrite",
3
3
"homepage": "https://appwrite.io/support",
4
4
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
0 commit comments