mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update SDK generator + examples
This commit is contained in:
172 files changed
+512
-512
No files matched your search
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeInteger result = await databases.CreateIntegerAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
Reference in new issue
Block a user