mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 12:57:49 +00:00
Make project_id consistent
This commit is contained in:
@@ -52,7 +52,7 @@ import { Client, Account } from "appwrite";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
|
||||
const account = new Account(client);
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import 'package:appwrite/appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>');
|
||||
.setProject('<PROJECT_ID>');
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<PROJECT_ID>'); // Your project ID
|
||||
|
||||
const account = new Account(client);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -67,7 +67,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -175,7 +175,7 @@ const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<PROJECT_ID>'); // Your project ID
|
||||
|
||||
const account = new Account(client);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ import { Client } from "node-appwrite"
|
||||
|
||||
const adminClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>')
|
||||
.setProject('<PROJECT_ID>')
|
||||
.setKey('<YOUR_API_KEY>')
|
||||
```
|
||||
|
||||
@@ -87,7 +87,7 @@ A session client will allow us to make requests as an authenticated end-user wit
|
||||
```jsx
|
||||
const sessionClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>')
|
||||
.setProject('<PROJECT_ID>')
|
||||
|
||||
const session = req.cookies.session
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
|
||||
@@ -64,7 +64,7 @@ import { Client, Account } from 'appwrite'
|
||||
|
||||
// Initialize Appwrite client
|
||||
const client = new Client()
|
||||
client.setEndpoint('https://cloud.appwrite.io/v1').setProject('your_project_id')
|
||||
client.setEndpoint('https://cloud.appwrite.io/v1').setProject('PROJECT_ID')
|
||||
|
||||
// Initialize Account
|
||||
const account = new Account(client)
|
||||
|
||||
@@ -63,7 +63,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const message = await messaging.createPush(
|
||||
|
||||
@@ -80,7 +80,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ const account = new Account(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setLocale('fr') // Your locale
|
||||
;
|
||||
|
||||
@@ -153,7 +153,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setLocale('fr') // Your locale
|
||||
;
|
||||
Future result = account.createVerification('https://example.com');
|
||||
@@ -173,7 +173,7 @@ import io.appwrite.services.Account
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setLocale('fr') // Your locale
|
||||
|
||||
val account = Account(client)
|
||||
@@ -186,7 +186,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setLocale('fr') // Your locale
|
||||
|
||||
let account = Account(client)
|
||||
|
||||
@@ -12,7 +12,7 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('98fd4...a2ad2'); // Your secret API key
|
||||
|
||||
const users = new sdk.Users(client);
|
||||
@@ -38,7 +38,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('98fd4...a2ad2'); // Your secret API key
|
||||
|
||||
$users = new Users($client);
|
||||
@@ -58,7 +58,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('98fd4...a2ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -76,7 +76,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('98fd4...a2ad2') # Your secret API key
|
||||
|
||||
users = Users.new(client)
|
||||
@@ -92,7 +92,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
let client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('98fd4...a2ad2'); // Your secret API key
|
||||
|
||||
let users = new sdk.Users(client);
|
||||
@@ -113,7 +113,7 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
final client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('98fd4...a2ad2'); // Your secret API key
|
||||
|
||||
final users = Users(client);
|
||||
@@ -130,7 +130,7 @@ import io.appwrite.services.Users
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("98fd4...a2ad2") // Your secret API key
|
||||
|
||||
val users = Users(client)
|
||||
@@ -146,7 +146,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("98fd4...a2ad2") // Your secret API key
|
||||
|
||||
let users = Users(client)
|
||||
@@ -162,7 +162,7 @@ using Appwrite;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("98fd4...a2ad2"); // Your secret API key
|
||||
|
||||
var users = new Users(client);
|
||||
|
||||
@@ -33,7 +33,7 @@ const avatars = new Avatars(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
;
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
;
|
||||
}
|
||||
```
|
||||
@@ -57,7 +57,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
|
||||
let account = Account(client)
|
||||
let avatars = Avatars(client)
|
||||
@@ -69,7 +69,7 @@ import io.appwrite.services.Account
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
|
||||
val account = Account(client)
|
||||
val avatars = Avatars(client)
|
||||
|
||||
@@ -202,7 +202,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
let account = Account(client)
|
||||
|
||||
@@ -221,7 +221,7 @@ import io.appwrite.services.Account
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
@@ -273,7 +273,7 @@ import 'package:appwrite/appwrite.dart';
|
||||
|
||||
final client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2'); // Your project ID
|
||||
.setProject('PROJECT_ID'); // Your project ID
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
@@ -286,7 +286,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
let account = Account(client)
|
||||
|
||||
@@ -300,7 +300,7 @@ import io.appwrite.services.Account
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -502,7 +502,7 @@ class Appwrite {
|
||||
public init() {
|
||||
self.client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
|
||||
self.account = Account(client)
|
||||
}
|
||||
@@ -572,7 +572,7 @@ You can find a version of this example in the [Appwrite Android tutorial](/docs/
|
||||
|
||||
object Appwrite {
|
||||
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
|
||||
private const val PROJECT_ID = "<YOUR_PROJECT_ID>"
|
||||
private const val PROJECT_ID = "<PROJECT_ID>"
|
||||
|
||||
private lateinit var client: Client
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ import { Client } from "node-appwrite"; // Using the server SDK
|
||||
|
||||
const adminClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setKey('<YOUR_API_KEY>'); // Your secret API key
|
||||
```
|
||||
```php
|
||||
@@ -68,7 +68,7 @@ use Appwrite\Services\Account;
|
||||
|
||||
$adminClient = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
->setProject('<PROJECT_ID>') // Your project ID
|
||||
->setKey('<YOUR_API_KEY>'); // Your secret API key
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ You should create a new client for each request and **never** share the client b
|
||||
```server-nodejs
|
||||
const sessionClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<PROJECT_ID>'); // Your project ID
|
||||
|
||||
const session = req.cookies.session; // Get the session cookie from the request
|
||||
if (session) {
|
||||
@@ -98,7 +98,7 @@ if (session) {
|
||||
```php
|
||||
$sessionClient = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
->setProject('<PROJECT_ID>'); // Your project ID
|
||||
|
||||
$session = $_COOKIE['session']; // Get the session cookie from the request
|
||||
if ($session) {
|
||||
@@ -291,7 +291,7 @@ const account = new sdk.Account(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const promise = account.createAnonymousSession();
|
||||
@@ -312,7 +312,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
$account = new Account($client);
|
||||
@@ -347,7 +347,7 @@ import { Client, Account, OAuthProvider } from "node-appwrite"; // Using the ser
|
||||
|
||||
const adminClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setKey('<API_KEY>'); // Your secret API key
|
||||
|
||||
app.get('/oauth', async (req, res) => {
|
||||
@@ -370,7 +370,7 @@ use Appwrite\Enums\OAuthProvider;
|
||||
|
||||
$adminClient = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
->setProject('<PROJECT_ID>') // Your project ID
|
||||
->setKey('<API_KEY>'); // Your secret API key
|
||||
|
||||
$account = new Account($adminClient);
|
||||
@@ -421,7 +421,7 @@ use Appwrite\Services\Account;
|
||||
|
||||
$adminClient = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
->setProject('<PROJECT_ID>') // Your project ID
|
||||
->setKey('<API_KEY>'); // Your secret API key
|
||||
|
||||
$account = new Account($adminClient);
|
||||
|
||||
@@ -25,7 +25,7 @@ const teams = new Teams(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const promise = teams.create(
|
||||
@@ -49,7 +49,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
Future result = teams.create(
|
||||
teamId: 'teachers',
|
||||
@@ -70,7 +70,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
let teams = Teams(client)
|
||||
|
||||
@@ -86,7 +86,7 @@ import io.appwrite.services.Teams
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val teams = Teams(client)
|
||||
|
||||
@@ -113,7 +113,7 @@ const teams = new Teams(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const promise = teams.createMembership(
|
||||
@@ -137,7 +137,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
Future result = teams.createMembership(
|
||||
teamId: 'teachers',
|
||||
@@ -158,7 +158,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
let teams = Teams(client)
|
||||
|
||||
@@ -174,7 +174,7 @@ import io.appwrite.services.Teams
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val teams = Teams(client)
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ const databases = new sdk.Databases(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -54,7 +54,7 @@ let databases = new sdk.Databases(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -77,7 +77,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -93,7 +93,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -108,7 +108,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
databases = Databases.new(client)
|
||||
@@ -124,7 +124,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var databases = new Databases(client);
|
||||
@@ -143,7 +143,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -167,7 +167,7 @@ import io.appwrite.services.Databases
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val databases = Databases(client)
|
||||
@@ -185,7 +185,7 @@ import io.appwrite.services.Databases;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
@@ -209,7 +209,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let databases = Databases(client)
|
||||
|
||||
@@ -27,7 +27,7 @@ const databases = new sdk.Databases(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -49,7 +49,7 @@ let databases = new sdk.Databases(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -72,7 +72,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -88,7 +88,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -103,7 +103,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
databases = Databases.new(client)
|
||||
@@ -119,7 +119,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var databases = new Databases(client);
|
||||
@@ -137,7 +137,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -160,7 +160,7 @@ import io.appwrite.services.Databases
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val databases = Databases(client)
|
||||
@@ -177,7 +177,7 @@ import io.appwrite.services.Databases;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
@@ -200,7 +200,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let databases = Databases(client)
|
||||
|
||||
@@ -111,7 +111,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -135,7 +135,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -159,7 +159,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -183,7 +183,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -206,7 +206,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -230,7 +230,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -255,7 +255,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -284,7 +284,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -314,7 +314,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -342,7 +342,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -108,7 +108,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -129,7 +129,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -150,7 +150,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -171,7 +171,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -191,7 +191,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -212,7 +212,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -234,7 +234,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -260,7 +260,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -287,7 +287,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -312,7 +312,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -233,7 +233,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -265,7 +265,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -297,7 +297,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -329,7 +329,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -360,7 +360,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -392,7 +392,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -425,7 +425,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -462,7 +462,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -500,7 +500,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -536,7 +536,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -578,7 +578,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -606,7 +606,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -634,7 +634,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -662,7 +662,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -689,7 +689,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -717,7 +717,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -746,7 +746,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -779,7 +779,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -813,7 +813,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -845,7 +845,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -883,7 +883,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -907,7 +907,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -931,7 +931,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -955,7 +955,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -978,7 +978,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -1002,7 +1002,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -1027,7 +1027,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -1056,7 +1056,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -1086,7 +1086,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -1114,7 +1114,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -76,7 +76,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -100,7 +100,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -124,7 +124,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -148,7 +148,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -171,7 +171,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -195,7 +195,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -220,7 +220,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -249,7 +249,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -279,7 +279,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -307,7 +307,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -352,7 +352,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -375,7 +375,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -398,7 +398,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -421,7 +421,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -443,7 +443,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -466,7 +466,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -490,7 +490,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -518,7 +518,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -547,7 +547,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -574,7 +574,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -46,7 +46,7 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const users = new sdk.Users(client);
|
||||
@@ -65,7 +65,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setJWT('eyJhbVCJ9.eyJ...'); // Your secret JSON Web Token
|
||||
|
||||
const users = new sdk.Users(client);
|
||||
@@ -88,7 +88,7 @@ use Appwrite\Enums\MessagingProviderType;
|
||||
|
||||
$client = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
$users = new Users($client);
|
||||
@@ -108,7 +108,7 @@ from appwrite.enums import MessagingProviderType
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('5df5acd0d48c2') # Your project ID
|
||||
client.set_project('PROJECT_ID') # Your project ID
|
||||
client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
users = Users(client)
|
||||
@@ -130,7 +130,7 @@ include Appwrite::Enums
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
users = Users.new(client)
|
||||
@@ -154,7 +154,7 @@ using Appwrite.Enums;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Users users = new Users(client);
|
||||
@@ -175,7 +175,7 @@ import 'package:dart_appwrite/models.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
Users users = Users(client);
|
||||
@@ -198,7 +198,7 @@ import io.appwrite.enums.MessagingProviderType
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val users = Users(client)
|
||||
@@ -221,7 +221,7 @@ import io.appwrite.enums.MessagingProviderType;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Users users = new Users(client);
|
||||
@@ -249,7 +249,7 @@ import AppwriteEnums
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let users = Users(client)
|
||||
@@ -288,7 +288,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -307,7 +307,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -326,7 +326,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -345,7 +345,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -363,7 +363,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -382,7 +382,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -402,7 +402,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -426,7 +426,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -451,7 +451,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -474,7 +474,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -500,7 +500,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -528,7 +528,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -556,7 +556,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -584,7 +584,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -611,7 +611,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -639,7 +639,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -668,7 +668,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -701,7 +701,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -735,7 +735,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -767,7 +767,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -802,7 +802,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -830,7 +830,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -858,7 +858,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -886,7 +886,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -913,7 +913,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -941,7 +941,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -970,7 +970,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -1003,7 +1003,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -1037,7 +1037,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -1069,7 +1069,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -474,7 +474,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -506,7 +506,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -538,7 +538,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -570,7 +570,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -601,7 +601,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -633,7 +633,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -666,7 +666,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -702,7 +702,7 @@ import io.appwrite.services.Messaging
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val messaging = Messaging(client)
|
||||
@@ -732,7 +732,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -768,7 +768,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -55,7 +55,7 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const users = new sdk.Users(client);
|
||||
@@ -74,7 +74,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setJWT('eyJhbVCJ9.eyJ...'); // Your secret JSON Web Token
|
||||
|
||||
const users = new sdk.Users(client);
|
||||
@@ -97,7 +97,7 @@ use Appwrite\Enums\MessagingProviderType;
|
||||
|
||||
$client = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
$users = new Users($client);
|
||||
@@ -117,7 +117,7 @@ from appwrite.enums import MessagingProviderType
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('5df5acd0d48c2') # Your project ID
|
||||
client.set_project('PROJECT_ID') # Your project ID
|
||||
client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
users = Users(client)
|
||||
@@ -139,7 +139,7 @@ include Appwrite::Enums
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
users = Users.new(client)
|
||||
@@ -163,7 +163,7 @@ using Appwrite.Enums;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Users users = new Users(client);
|
||||
@@ -184,7 +184,7 @@ import 'package:dart_appwrite/models.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
Users users = Users(client);
|
||||
@@ -207,7 +207,7 @@ import io.appwrite.enums.MessagingProviderType
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val users = Users(client)
|
||||
@@ -230,7 +230,7 @@ import io.appwrite.enums.MessagingProviderType;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Users users = new Users(client);
|
||||
@@ -258,7 +258,7 @@ import AppwriteEnums
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let users = Users(client)
|
||||
@@ -293,7 +293,7 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -308,7 +308,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -326,7 +326,7 @@ use Appwrite\Services\Messaging;
|
||||
|
||||
$client = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
$messaging = new Messaging($client);
|
||||
@@ -342,7 +342,7 @@ from appwrite.services.messaging import Messaging
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('5df5acd0d48c2') # Your project ID
|
||||
client.set_project('PROJECT_ID') # Your project ID
|
||||
client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging(client)
|
||||
@@ -359,7 +359,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -376,7 +376,7 @@ using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -392,7 +392,7 @@ import 'package:dart_appwrite/models.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
Messaging messaging = Messaging(client);
|
||||
@@ -409,7 +409,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
val client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val messaging = new Messaging(client)
|
||||
@@ -426,7 +426,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -449,7 +449,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -472,7 +472,7 @@ const sdk = require('node-appwrite');
|
||||
// Init SDK
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -492,7 +492,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -517,7 +517,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
$messaging = new Messaging($client);
|
||||
@@ -538,7 +538,7 @@ from appwrite.services.messaging import Messaging
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('5df5acd0d48c2') # Your project ID
|
||||
client.set_project('PROJECT_ID') # Your project ID
|
||||
client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging(client)
|
||||
@@ -560,7 +560,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -582,7 +582,7 @@ using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -603,7 +603,7 @@ import 'package:dart_appwrite/models.dart';
|
||||
|
||||
Client client = Client();
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
Messaging messaging = Messaging(client);
|
||||
@@ -625,7 +625,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val messaging = Messaging(client)
|
||||
@@ -647,7 +647,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -675,7 +675,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -701,7 +701,7 @@ const sdk = require('node-appwrite');
|
||||
// Init SDK
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -721,7 +721,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -746,7 +746,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
$messaging = new Messaging($client);
|
||||
@@ -767,7 +767,7 @@ from appwrite.services.messaging import Messaging
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('5df5acd0d48c2') # Your project ID
|
||||
client.set_project('PROJECT_ID') # Your project ID
|
||||
client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging(client)
|
||||
@@ -789,7 +789,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -811,7 +811,7 @@ using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -832,7 +832,7 @@ import 'package:dart_appwrite/models.dart';
|
||||
|
||||
Client client = Client();
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key
|
||||
|
||||
Messaging messaging = Messaging(client);
|
||||
@@ -854,7 +854,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val messaging = Messaging(client)
|
||||
@@ -876,7 +876,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -904,7 +904,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -297,7 +297,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setKey('<YOUR_API_KEY>') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -322,7 +322,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setKey('<YOUR_API_KEY>') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -347,7 +347,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
->setProject('<PROJECT_ID>') // Your project ID
|
||||
->setKey('<YOUR_API_KEY>') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -372,7 +372,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
.set_project('<PROJECT_ID>') # Your project ID
|
||||
.set_key('<YOUR_API_KEY>') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -396,7 +396,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
.set_project('<PROJECT_ID>') # Your project ID
|
||||
.set_key('<YOUR_API_KEY>') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -421,7 +421,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetProject("<PROJECT_ID>") // Your project ID
|
||||
.SetKey("<YOUR_API_KEY>"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -447,7 +447,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setKey('<YOUR_API_KEY>') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -477,7 +477,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
.setKey("<YOUR_API_KEY>"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -508,7 +508,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
.setKey("<YOUR_API_KEY>"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -537,7 +537,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
.setKey("<YOUR_API_KEY>") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -75,7 +75,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -99,7 +99,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -123,7 +123,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -147,7 +147,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -170,7 +170,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -194,7 +194,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -219,7 +219,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -248,7 +248,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -278,7 +278,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -306,7 +306,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -350,7 +350,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -373,7 +373,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -396,7 +396,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -419,7 +419,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -441,7 +441,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -464,7 +464,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -488,7 +488,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -516,7 +516,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -545,7 +545,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -572,7 +572,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -75,7 +75,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -99,7 +99,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -123,7 +123,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -147,7 +147,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -170,7 +170,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -194,7 +194,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -219,7 +219,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -248,7 +248,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -278,7 +278,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -306,7 +306,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -350,7 +350,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -373,7 +373,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -396,7 +396,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -419,7 +419,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -441,7 +441,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -464,7 +464,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -488,7 +488,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -516,7 +516,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -545,7 +545,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -572,7 +572,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -54,7 +54,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -75,7 +75,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -95,7 +95,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -116,7 +116,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -135,7 +135,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -155,7 +155,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -176,7 +176,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -201,7 +201,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -227,7 +227,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -251,7 +251,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -320,7 +320,7 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setJWT('eyJhbVCJ9.eyJ...'); // Your secret JSON Web Token
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -336,7 +336,7 @@ import * as sdk from "https://deno.land/x/appwrite/mod.ts";
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setJWT('eyJhbVCJ9.eyJ...'); // Your secret JSON Web Token
|
||||
|
||||
const messaging = new sdk.Messaging(client);
|
||||
@@ -357,7 +357,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setJWT('eyJhbVCJ9.eyJ...'); // Your secret JSON Web Token
|
||||
|
||||
$messaging = new Messaging($client);
|
||||
@@ -374,7 +374,7 @@ from appwrite.services.messaging import Messaging
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('5df5acd0d48c2') # Your project ID
|
||||
client.set_project('PROJECT_ID') # Your project ID
|
||||
client.set_jwt('eyJhbVCJ9.eyJ...') # Your secret JSON Web Token
|
||||
|
||||
messaging = Messaging(client)
|
||||
@@ -392,7 +392,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_jwt('eyJhbVCJ9.eyJ...') # Your secret JSON Web Token
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -410,7 +410,7 @@ using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -427,7 +427,7 @@ import 'package:dart_appwrite/models.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setJWT('eyJhbVCJ9.eyJ...'); // Your secret JSON Web Token
|
||||
|
||||
Messaging messaging = Messaging(client);
|
||||
@@ -445,7 +445,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token
|
||||
|
||||
val messaging = new Messaging(client)
|
||||
@@ -463,7 +463,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -487,7 +487,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -77,7 +77,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -101,7 +101,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -125,7 +125,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -149,7 +149,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -172,7 +172,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -196,7 +196,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -221,7 +221,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -250,7 +250,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -280,7 +280,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -308,7 +308,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -350,7 +350,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -373,7 +373,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -396,7 +396,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -419,7 +419,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -441,7 +441,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -464,7 +464,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -488,7 +488,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -516,7 +516,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -545,7 +545,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -572,7 +572,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -77,7 +77,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -101,7 +101,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -125,7 +125,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -149,7 +149,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -172,7 +172,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -196,7 +196,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -221,7 +221,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -250,7 +250,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -280,7 +280,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -308,7 +308,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
@@ -352,7 +352,7 @@ const messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -375,7 +375,7 @@ let messaging = new sdk.Messaging(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -398,7 +398,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -421,7 +421,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -443,7 +443,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
messaging = Messaging.new(client)
|
||||
@@ -466,7 +466,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var messaging = new Messaging(client);
|
||||
@@ -490,7 +490,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -518,7 +518,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -547,7 +547,7 @@ import io.appwrite.services.Messaging;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Messaging messaging = new Messaging(client);
|
||||
@@ -574,7 +574,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let messaging = Messaging(client)
|
||||
|
||||
@@ -37,7 +37,7 @@ const storage = new sdk.Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -59,7 +59,7 @@ let storage = new sdk.Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -82,7 +82,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setProject('PROJECT_ID') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -98,7 +98,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
)
|
||||
|
||||
@@ -113,7 +113,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_project('PROJECT_ID') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
|
||||
storage = Storage.new(client)
|
||||
@@ -129,7 +129,7 @@ using Appwrite.Models;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetProject("PROJECT_ID") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
var storage = new Storage(client);
|
||||
@@ -147,7 +147,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
;
|
||||
|
||||
@@ -170,7 +170,7 @@ import io.appwrite.services.Storage
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
val storage = Storage(client)
|
||||
@@ -187,7 +187,7 @@ import io.appwrite.services.Storage;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Storage storage = new Storage(client);
|
||||
@@ -210,7 +210,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||
|
||||
let storage = Storage(client)
|
||||
|
||||
@@ -48,7 +48,7 @@ const storage = new Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const result = storage.getFilePreview(
|
||||
@@ -78,7 +78,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
// downloading file
|
||||
Future result = storage.getFilePreview(
|
||||
@@ -124,7 +124,7 @@ import Appwrite
|
||||
func main() async throws {
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
let storage = Storage(client)
|
||||
let byteBuffer = try await storage.getFilePreview(
|
||||
bucketId: "photos", // bucket ID
|
||||
@@ -160,7 +160,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
val client = Client(applicationContext)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val storage = Storage(client)
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ const storage = new Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const result = storage.getFileDownload('[BUCKET_ID]', '[FILE_ID]');
|
||||
@@ -152,7 +152,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
// downloading file
|
||||
Future result = storage.getFileDownload(
|
||||
@@ -187,7 +187,7 @@ import Appwrite
|
||||
func main() async throws {
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
let storage = Storage(client)
|
||||
let byteBuffer = try await storage.getFileDownload(
|
||||
bucketId: "[BUCKET_ID]",
|
||||
@@ -212,7 +212,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
val client = Client(applicationContext)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val storage = Storage(client)
|
||||
|
||||
|
||||
@@ -286,7 +286,7 @@ const storage = new Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const promise = storage.getFile('[BUCKET_ID]', '[FILE_ID]');
|
||||
@@ -306,7 +306,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
// downloading file
|
||||
Future result = storage.getFile(
|
||||
@@ -341,7 +341,7 @@ import Appwrite
|
||||
func main() async throws {
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
let storage = Storage(client)
|
||||
let byteBuffer = try await storage.getFile(
|
||||
bucketId: "[BUCKET_ID]",
|
||||
@@ -366,7 +366,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
val client = Client(applicationContext)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val storage = Storage(client)
|
||||
|
||||
@@ -393,7 +393,7 @@ const storage = new Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const result = storage.getFileDownload('[BUCKET_ID]', '[FILE_ID]');
|
||||
@@ -409,7 +409,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
// downloading file
|
||||
Future result = storage.getFileDownload(
|
||||
@@ -444,7 +444,7 @@ import Appwrite
|
||||
func main() async throws {
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
let storage = Storage(client)
|
||||
let byteBuffer = try await storage.getFileDownload(
|
||||
bucketId: "[BUCKET_ID]",
|
||||
@@ -469,7 +469,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
val client = Client(applicationContext)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val storage = Storage(client)
|
||||
|
||||
@@ -496,7 +496,7 @@ const storage = new Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const result = storage.getFilePreview('[BUCKET_ID]', '[FILE_ID]');
|
||||
@@ -512,7 +512,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
// downloading file
|
||||
Future result = storage.getFilePreview(
|
||||
@@ -547,7 +547,7 @@ import Appwrite
|
||||
func main() async throws {
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
let storage = Storage(client)
|
||||
let byteBuffer = try await storage.getFilePreview(
|
||||
bucketId: "[BUCKET_ID]",
|
||||
@@ -572,7 +572,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
val client = Client(applicationContext)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val storage = Storage(client)
|
||||
|
||||
@@ -600,7 +600,7 @@ const storage = new Storage(client);
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
|
||||
const result = storage.getFileView('[BUCKET_ID]', '[FILE_ID]');
|
||||
@@ -616,7 +616,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setProject('PROJECT_ID') // Your project ID
|
||||
;
|
||||
// downloading file
|
||||
Future result = storage.getFileView(
|
||||
@@ -651,7 +651,7 @@ import Appwrite
|
||||
func main() async throws {
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
let storage = Storage(client)
|
||||
let byteBuffer = try await storage.getFileView(
|
||||
bucketId: "[BUCKET_ID]",
|
||||
@@ -676,7 +676,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
val client = Client(applicationContext)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("5df5acd0d48c2") // Your project ID
|
||||
.setProject("PROJECT_ID") // Your project ID
|
||||
|
||||
val storage = Storage(client)
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ Find your project's ID in the **Settings** page.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `Appwrite.kt` and add the following code to it, replacing `[YOUR_PROJECT_ID]` with your project ID.
|
||||
Create a new file `Appwrite.kt` and add the following code to it, replacing `[PROJECT_ID]` with your project ID.
|
||||
|
||||
```kotlin
|
||||
package <YOUR_ROOT_PACKAGE_HERE>
|
||||
@@ -103,7 +103,7 @@ object Appwrite {
|
||||
fun init(context: Context) {
|
||||
client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("[YOUR_PROJECT_ID]")
|
||||
.setProject("[PROJECT_ID]")
|
||||
|
||||
account = Account(client)
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ Find your project's ID in the **Settings** page.
|
||||
{% only_light %}
|
||||

|
||||
{% /only_light %}
|
||||
Create a new file `src/lib/appwrite.ts` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `src/lib/appwrite.ts` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account} from 'appwrite';
|
||||
@@ -75,7 +75,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -97,7 +97,7 @@ Find your project's ID in the **Settings** page.
|
||||
{% only_light %}
|
||||

|
||||
{% /only_light %}
|
||||
Create a new file `Appwrite.swift` and add the following code to it, replacing `[YOUR_PROJECT_ID]` with your project ID.
|
||||
Create a new file `Appwrite.swift` and add the following code to it, replacing `[PROJECT_ID]` with your project ID.
|
||||
|
||||
```swift
|
||||
import Foundation
|
||||
@@ -111,7 +111,7 @@ class Appwrite {
|
||||
public init() {
|
||||
self.client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("[YOUR_PROJECT_ID]")
|
||||
.setProject("[PROJECT_ID]")
|
||||
|
||||
self.account = Account(client)
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ Find your project ID in the **Settings** page.
|
||||
|
||||
Also, click on the **View API Keys** button to find the API key that was created earlier.
|
||||
|
||||
Open `bin/my_app.dart` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Open `bin/my_app.dart` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```dart
|
||||
import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
@@ -79,7 +79,7 @@ var client = Client();
|
||||
Future<void> main() async {
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
.setKey("<YOUR_API_KEY>");
|
||||
}
|
||||
```
|
||||
@@ -201,7 +201,7 @@ Finally, revisit the `main()` function and call the functions created in previou
|
||||
Future<void> main() async {
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
.setKey("<YOUR_API_KEY>");
|
||||
|
||||
await prepareDatabase();
|
||||
|
||||
@@ -73,7 +73,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Open `mod.ts` in your IDE and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Open `mod.ts` in your IDE and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```ts
|
||||
import { Client, ID, Databases, Models } from "https://deno.land/x/appwrite/mod.ts";
|
||||
@@ -82,7 +82,7 @@ const client: Client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
.setKey("<YOUR_API_KEY>");
|
||||
```
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Open the file `Program.cs` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Open the file `Program.cs` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```csharp
|
||||
using Appwrite;
|
||||
@@ -84,7 +84,7 @@ var client = new Client();
|
||||
|
||||
client
|
||||
.SetEndpoint("https://cloud.appwrite.io/v1")
|
||||
.SetProject("<YOUR_PROJECT_ID>")
|
||||
.SetProject("<PROJECT_ID>")
|
||||
.SetKey("<YOUR_API_KEY>");
|
||||
```
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ Find your project's ID in the **Settings** page.
|
||||
{% only_light %}
|
||||

|
||||
{% /only_light %}
|
||||
Open the generated `lib/main.dart` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Open the generated `lib/main.dart` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
This imports and initializes Appwrite.
|
||||
|
||||
```dart
|
||||
@@ -184,7 +184,7 @@ void main() {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
Client client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>");
|
||||
.setProject("<PROJECT_ID>");
|
||||
Account account = Account(client);
|
||||
|
||||
runApp(MaterialApp(
|
||||
|
||||
@@ -71,7 +71,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file called `app.go`, initialize a function, and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key. Import the Appwrite dependencies for appwrite, client, databases, and models.
|
||||
Create a new file called `app.go`, initialize a function, and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key. Import the Appwrite dependencies for appwrite, client, databases, and models.
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
@@ -80,7 +80,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Open the file `Main.kt` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Open the file `Main.kt` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```kotlin
|
||||
import io.appwrite.Client
|
||||
@@ -92,7 +92,7 @@ import kotlinx.coroutines.coroutineScope
|
||||
|
||||
val client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
.setKey("<YOUR_API_KEY>");
|
||||
```
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ Find your project's ID in the **Settings** page.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `app/appwrite.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `app/appwrite.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account } from 'appwrite';
|
||||
@@ -65,7 +65,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -68,7 +68,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `app.js` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Create a new file `app.js` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```js
|
||||
const sdk = require("node-appwrite");
|
||||
@@ -77,7 +77,7 @@ const client = new sdk.Client();
|
||||
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
.setKey("<YOUR_API_KEY>");
|
||||
```
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ Find your project's ID in the **Settings** page.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `utils/appwrite.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `utils/appwrite.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account} from 'appwrite';
|
||||
@@ -68,7 +68,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -68,7 +68,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `index.php` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Create a new file `index.php` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```php
|
||||
<?php
|
||||
@@ -82,7 +82,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1')
|
||||
->setProject('<YOUR_PROJECT_ID>')
|
||||
->setProject('<PROJECT_ID>')
|
||||
->setKey('<YOUR_API_KEY>');
|
||||
```
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Open `my_app.py` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Open `my_app.py` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```py
|
||||
from appwrite.client import Client
|
||||
@@ -98,7 +98,7 @@ from appwrite.id import ID
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1')
|
||||
client.set_project('<YOUR_PROJECT_ID>')
|
||||
client.set_project('<PROJECT_ID>')
|
||||
client.set_key('<YOUR_API_KEY>')
|
||||
```
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ Find your project's ID in the **Settings** page.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Open `App.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_PLATFORM>` with your application id or package name.
|
||||
Open `App.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID and `<YOUR_PLATFORM>` with your application id or package name.
|
||||
|
||||
This imports and initializes Appwrite and defines some basic authentication methods.
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ Find your project's ID in the **Settings** page.
|
||||
{% only_light %}
|
||||

|
||||
{% /only_light %}
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account} from 'appwrite';
|
||||
@@ -65,7 +65,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -68,7 +68,7 @@ Navigate to `src/utility/appwriteClient.ts` and add your API credentials.
|
||||
import { Account, Appwrite, Storage } from "@refinedev/appwrite";
|
||||
|
||||
const APPWRITE_URL = '<YOUR_API_ENDPOINT>'; // Replace with your Appwrite API Endpoint
|
||||
const APPWRITE_PROJECT = "<YOUR_PROJECT_ID>"; // Replace with your project ID
|
||||
const APPWRITE_PROJECT = "<PROJECT_ID>"; // Replace with your project ID
|
||||
|
||||
const appwriteClient = new Appwrite();
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `app.rb` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Create a new file `app.rb` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```ruby
|
||||
# Initialize the Appwrite client
|
||||
@@ -80,7 +80,7 @@ client = Client.new()
|
||||
|
||||
client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your Appwrite Endpoint
|
||||
.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
.set_project('<PROJECT_ID>') # Your project ID
|
||||
.set_key('<YOUR_API_KEY>') # Your secret API key
|
||||
```
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ Find your project's ID in the **Settings** page.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account } from 'appwrite';
|
||||
@@ -71,7 +71,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -55,7 +55,7 @@ Find your project's ID in the **Settings** page.
|
||||
{% only_light %}
|
||||

|
||||
{% /only_light %}
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account } from 'appwrite';
|
||||
@@ -64,7 +64,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -77,7 +77,7 @@ Find your project ID in the **Settings** page. Also, click on the **View API Key
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Open the file `main.swift` and initialize the Appwrite Client. Replace `<YOUR_PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
Open the file `main.swift` and initialize the Appwrite Client. Replace `<PROJECT_ID>` with your project ID and `<YOUR_API_KEY>` with your API key.
|
||||
|
||||
```swift
|
||||
import Foundation
|
||||
@@ -86,7 +86,7 @@ import AppwriteModels
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>")
|
||||
.setProject("<PROJECT_ID>")
|
||||
.setKey("<YOUR_API_KEY>")
|
||||
```
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ Find your project's ID in the **Settings** page.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Create a new file `src/lib/appwrite.js` and add the following code to it, replace `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Account} from 'appwrite';
|
||||
@@ -66,7 +66,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
|
||||
@@ -53,7 +53,7 @@ export const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export { ID } from 'appwrite';
|
||||
@@ -74,7 +74,7 @@ const client: Client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Replace with your project ID
|
||||
.setProject('<PROJECT_ID>'); // Replace with your project ID
|
||||
|
||||
export const account: Account = new Account(client);
|
||||
export const database: Databases = new Databases(client);
|
||||
|
||||
@@ -97,7 +97,7 @@ const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
;
|
||||
```
|
||||
```client-flutter
|
||||
@@ -107,7 +107,7 @@ Client client = Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
;
|
||||
```
|
||||
```client-apple
|
||||
@@ -115,14 +115,14 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
```
|
||||
```client-android-kotlin
|
||||
import io.appwrite.Client
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
```
|
||||
{% /multicode %}
|
||||
{% /tabsitem %}
|
||||
@@ -140,7 +140,7 @@ const client = new sdk.Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setJWT('<YOUR_API_KEY>') // Your secret JSON Web Token
|
||||
;
|
||||
```
|
||||
@@ -152,7 +152,7 @@ let client = new sdk.Client();
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setJWT('<YOUR_API_KEY>') // Your secret JSON Web Token
|
||||
;
|
||||
```
|
||||
@@ -165,7 +165,7 @@ $client = new Client();
|
||||
|
||||
$client
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
->setProject('<PROJECT_ID>') // Your project ID
|
||||
->setJWT('<YOUR_API_KEY>') // Your secret JSON Web Token
|
||||
;
|
||||
```
|
||||
@@ -176,7 +176,7 @@ client = Client()
|
||||
|
||||
(client
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
.set_project('<PROJECT_ID>') # Your project ID
|
||||
.set_jwt('<YOUR_API_KEY>') # Your secret JSON Web Token
|
||||
)
|
||||
```
|
||||
@@ -187,7 +187,7 @@ include Appwrite
|
||||
|
||||
client = Client.new
|
||||
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
.set_project('<PROJECT_ID>') # Your project ID
|
||||
.set_jwt('<YOUR_API_KEY>') # Your secret JSON Web Token
|
||||
```
|
||||
```csharp
|
||||
@@ -196,7 +196,7 @@ using Appwrite.Services;
|
||||
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetProject("<PROJECT_ID>") // Your project ID
|
||||
.SetJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
||||
```
|
||||
```dart
|
||||
@@ -207,7 +207,7 @@ void main() { // Init SDK
|
||||
|
||||
client
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setJWT('<YOUR_API_KEY>') // Your secret JSON Web Token
|
||||
;
|
||||
}
|
||||
@@ -218,7 +218,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
.setJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
||||
```
|
||||
```java
|
||||
@@ -227,7 +227,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
.setJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
||||
```
|
||||
```swift
|
||||
@@ -235,7 +235,7 @@ import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setProject("<PROJECT_ID>") // Your project ID
|
||||
.setJWT("<YOUR_API_KEY>") // Your secret JSON Web Token
|
||||
```
|
||||
{% /multicode %}
|
||||
@@ -263,7 +263,7 @@ import { Client } from "node-appwrite"; // Using the server SDK
|
||||
|
||||
const adminClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setProject('<PROJECT_ID>') // Your project ID
|
||||
.setKey('<YOUR_API_KEY>'); // Your secret API key
|
||||
```
|
||||
```php
|
||||
@@ -272,7 +272,7 @@ use Appwrite\Services\Account;
|
||||
|
||||
$adminClient = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
->setProject('<PROJECT_ID>') // Your project ID
|
||||
->setKey('<YOUR_API_KEY>'); // Your secret API key
|
||||
|
||||
|
||||
@@ -292,7 +292,7 @@ You should create a new client for each request and **never** share the client b
|
||||
```server-nodejs
|
||||
const sessionClient = new Client()
|
||||
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<PROJECT_ID>'); // Your project ID
|
||||
|
||||
const session = req.cookies.session; // Get the session cookie from the request
|
||||
if (session) {
|
||||
@@ -302,7 +302,7 @@ if (session) {
|
||||
```php
|
||||
$sessionClient = (new Client())
|
||||
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
|
||||
->setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
->setProject('<PROJECT_ID>'); // Your project ID
|
||||
|
||||
$session = $_COOKIE['session']; // Get the session cookie from the request
|
||||
if ($session) {
|
||||
|
||||
@@ -44,7 +44,7 @@ After [initializing](/docs/tooling/command-line/installation#initialization) you
|
||||
"live": true,
|
||||
"logging": true,
|
||||
"runtime": "node-18.0",
|
||||
"deployment": "5df5acd0d48c2",
|
||||
"deployment": "PROJECT_ID",
|
||||
"vars": [
|
||||
{
|
||||
"$id": "eyJhbGciOiJIUzI1N",
|
||||
|
||||
@@ -8,7 +8,7 @@ The Appwrite CLI can be used in a non-interactive and headless manner, without s
|
||||
```sh
|
||||
appwrite client \
|
||||
--endpoint https://cloud.appwrite.io/v1 \
|
||||
--project-id [YOUR_PROJECT_ID] \
|
||||
--project-id [PROJECT_ID] \
|
||||
--key YOUR_API_KEY
|
||||
```
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ To use Appwrite in our Android app, we'll need to find our project ID. Find your
|
||||
|
||||
Create a new file `services/Appwrite.kt` to hold our Appwrite related code.
|
||||
Only one instance of the `Client` class should be created per app.
|
||||
Add the following code to it, replacing `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Add the following code to it, replacing `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```kotlin
|
||||
package <YOUR_ROOT_PACKAGE_HERE>.services
|
||||
@@ -52,7 +52,7 @@ import io.appwrite.Client
|
||||
|
||||
object Appwrite {
|
||||
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
|
||||
private const val PROJECT_ID = "<YOUR_PROJECT_ID>"
|
||||
private const val PROJECT_ID = "<PROJECT_ID>"
|
||||
|
||||
private lateinit var client: Client
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ Look for `// Add this line 👇` to find where the changes made here.
|
||||
```kotlin
|
||||
object Appwrite {
|
||||
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
|
||||
private const val PROJECT_ID = "<YOUR_PROJECT_ID>"
|
||||
private const val PROJECT_ID = "<PROJECT_ID>"
|
||||
|
||||
private lateinit var client: Client
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ import io.appwrite.Client
|
||||
|
||||
object Appwrite {
|
||||
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
|
||||
private const val PROJECT_ID = "<YOUR_PROJECT_ID>"
|
||||
private const val PROJECT_ID = "<PROJECT_ID>"
|
||||
|
||||
private lateinit var client: Client
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ For example, your `.env` might look something similar to this.
|
||||
```env
|
||||
APPWRITE_KEY=<YOUR_API_KEY>
|
||||
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
|
||||
PUBLIC_APPWRITE_PROJECT=<YOUR_PROJECT_ID>
|
||||
PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
|
||||
```
|
||||
|
||||
The `PUBLIC_APPWRITE_ENDPOINT` is the endpoint of your Appwrite project, and the `PUBLIC_APPWRITE_PROJECT` is the ID of the project you want to use.
|
||||
|
||||
@@ -65,7 +65,7 @@ For example, your `.env` might look something similar to this.
|
||||
```env
|
||||
NEXT_APPWRITE_KEY=<YOUR_API_KEY>
|
||||
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
|
||||
NEXT_PUBLIC_APPWRITE_PROJECT=<YOUR_PROJECT_ID>
|
||||
NEXT_PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
|
||||
```
|
||||
|
||||
The `NEXT_PUBLIC_APPWRITE_ENDPOINT` is the endpoint of your appwrite instance , and the `NEXT_PUBLIC_APPWRITE_PROJECT` is the ID of the project you want to use.
|
||||
|
||||
@@ -104,5 +104,5 @@ For example, your `.env` might look something similar to this.
|
||||
```env
|
||||
APPWRITE_KEY=<YOUR_API_KEY>
|
||||
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
|
||||
PUBLIC_APPWRITE_PROJECT=<YOUR_PROJECT_ID>
|
||||
PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
|
||||
```
|
||||
|
||||
@@ -43,11 +43,11 @@ Your project id is located in the **Settings** page in the Appwrite console.
|
||||

|
||||
{% /only_light %}
|
||||
|
||||
Add a `.env` file to the root directory and add the following code to it, replacing `YOUR_PROJECT_ID` with your project id.
|
||||
Add a `.env` file to the root directory and add the following code to it, replacing `PROJECT_ID` with your project id.
|
||||
|
||||
```
|
||||
VITE_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
|
||||
VITE_APPWRITE_PROJECT=YOUR_PROJECT_ID
|
||||
VITE_APPWRITE_PROJECT=PROJECT_ID
|
||||
```
|
||||
|
||||
# Initialize Appwrite SDK {% #init-sdk %}
|
||||
|
||||
@@ -43,7 +43,7 @@ Find your project's ID in the **Settings** page.
|
||||
|
||||
Create a new file `lib/appwrite.js` to hold our Appwrite related code.
|
||||
Only one instance of the `Client()` class should be created per app.
|
||||
Add the following code to it, replacing `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Add the following code to it, replacing `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```js
|
||||
import { Client, Databases, Account } from "react-native-appwrite";
|
||||
@@ -51,7 +51,7 @@ import { Client, Databases, Account } from "react-native-appwrite";
|
||||
const client = new Client();
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>") // Replace with your project ID
|
||||
.setProject("<PROJECT_ID>") // Replace with your project ID
|
||||
.setPlatform('com.example.idea-tracker');
|
||||
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ To use Appwrite in our React app, we'll need to find our project ID. Find your p
|
||||
|
||||
Create a new file `src/lib/appwrite.js` to hold our Appwrite related code.
|
||||
Only one instance of the `Client()` class should be created per app.
|
||||
Add the following code to it, replacing `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Add the following code to it, replacing `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Databases, Account } from "appwrite";
|
||||
@@ -50,7 +50,7 @@ import { Client, Databases, Account } from "appwrite";
|
||||
const client = new Client();
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Replace with your project ID
|
||||
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export const databases = new Databases(client);
|
||||
|
||||
@@ -47,7 +47,7 @@ Navigate to `src/utility/appwriteClient.ts` and add your API credentials.
|
||||
import { Account, Appwrite, Storage } from "@refinedev/appwrite";
|
||||
|
||||
const APPWRITE_URL = '<YOUR_API_ENDPOINT>'; // Replace with your Appwrite API Endpoint
|
||||
const APPWRITE_PROJECT = "<YOUR_PROJECT_ID>"; // Replace with your project ID
|
||||
const APPWRITE_PROJECT = "<PROJECT_ID>"; // Replace with your project ID
|
||||
|
||||
const appwriteClient = new Appwrite();
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ For example, your `.env` might look something similar to this.
|
||||
```text
|
||||
APPWRITE_KEY=<YOUR_API_KEY>
|
||||
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
|
||||
PUBLIC_APPWRITE_PROJECT=<YOUR_PROJECT_ID>
|
||||
PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
|
||||
```
|
||||
|
||||
The `PUBLIC_APPWRITE_ENDPOINT` is the endpoint of your Appwrite project, and the `PUBLIC_APPWRITE_PROJECT` is the ID of the project you want to use.
|
||||
|
||||
@@ -41,7 +41,7 @@ To use Appwrite in our Svelte app, we'll need to find our project ID. Find your
|
||||
{% /only_light %}
|
||||
Create a new file `src/lib/appwrite.js` to hold our Appwrite related code.
|
||||
Only one instance of the `Client()` class should be created per app.
|
||||
Add the following code to it, replacing `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Add the following code to it, replacing `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Databases, Account } from "appwrite";
|
||||
@@ -49,7 +49,7 @@ import { Client, Databases, Account } from "appwrite";
|
||||
const client = new Client();
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Replace with your project ID
|
||||
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export const databases = new Databases(client);
|
||||
|
||||
@@ -41,7 +41,7 @@ To use Appwrite in our Vue app, we'll need to find our project ID. Find your pro
|
||||
{% /only_light %}
|
||||
Create a new file `src/appwrite.js` to hold our Appwrite related code.
|
||||
Only one instance of the `Client()` class should be created per app.
|
||||
Add the following code to it, replacing `<YOUR_PROJECT_ID>` with your project ID.
|
||||
Add the following code to it, replacing `<PROJECT_ID>` with your project ID.
|
||||
|
||||
```client-web
|
||||
import { Client, Databases, Account } from "appwrite";
|
||||
@@ -49,7 +49,7 @@ import { Client, Databases, Account } from "appwrite";
|
||||
const client = new Client();
|
||||
client
|
||||
.setEndpoint("https://cloud.appwrite.io/v1")
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Replace with your project ID
|
||||
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
||||
|
||||
export const account = new Account(client);
|
||||
export const databases = new Databases(client);
|
||||
|
||||
Reference in New Issue
Block a user