Skip to main content
Module

x/appwrite/mod.ts>Client

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
class Client
Re-export
import { Client } from "https://deno.land/x/appwrite@0.1.1/mod.ts";

Properties

endpoint: string
headers: DocumentData

Methods

addHeader(key: string, value: string): this
call(
method: string,
path?: string,
headers?: DocumentData,
params?: DocumentData,
)
flatten(data: DocumentData, prefix?)
setEndpoint(endpoint: string): this
setKey(value: string): this

Set Key

Your secret API key

setLocale(value: string): this

Set Locale

setProject(value: string): this

Set Project

Your project ID

withoutHeader(key: string, headers: DocumentData): DocumentData