Appwrite 0.4.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Appwrite --version 0.4.2
NuGet\Install-Package Appwrite -Version 0.4.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Appwrite" Version="0.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Appwrite --version 0.4.2
#r "nuget: Appwrite, 0.4.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Appwrite as a Cake Addin
#addin nuget:?package=Appwrite&version=0.4.2

// Install Appwrite as a Cake Tool
#tool nuget:?package=Appwrite&version=0.4.2

Appwrite .NET SDK

License Version Build Status Twitter Account Discord

This SDK is compatible with Appwrite server version 1.3.x. For older versions, please check previous releases.

Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the .NET SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs

Installation

.NET

Add this reference to your project's .csproj file:

<PackageReference Include="Appwrite" Version="0.4.2" />

You can install packages from the command line:

# Package Manager
Install-Package Appwrite -Version 0.4.2

# or .NET CLI
dotnet add package Appwrite --version 0.4.2

Getting Started

Initialize & Make API Request

Once you have installed the package, it is extremely easy to get started with the SDK; all you need to do is import the package in your code, set your Appwrite credentials, and start making API calls. Below is a simple example:

using Appwrite;
using Appwrite.Services;
using Appwrite.Models;

var client = new Client()
  .SetEndpoint("http://cloud.appwrite.io/v1")  
  .SetProject("5ff3379a01d25")                 // Your project ID
  .SetKey("cd868db89");                         // Your secret API key

var users = new Users(client);

var user = await users.Create(
    userId: ID.Unique(),
    email: "email@example.com",
    password: "password",
    name: "name");

Console.WriteLine(user.ToMap());

Error Handling

The Appwrite .NET SDK raises an AppwriteException object with message, code, and response properties. You can handle any errors by catching AppwriteException and presenting the message to the user or handling it yourself based on the provided error information. Below is an example.

var users = new Users(client);

try
{
    var user = await users.Create(
        userId: ID.Unique(),
        email: "email@example.com",
        password: "password",
        name: "name");
} 
catch (AppwriteException e)
{
    Console.WriteLine(e.Message);
}

Learn more

You can use the following resources to learn more and get help

Contribution

This library is auto-generated by Appwrite custom SDK Generator. To learn more about how you can help us improve this SDK, please check the contribution guide before sending a pull-request.

License

Please see the BSD-3-Clause license file for more information.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.8.1 230 3/24/2024
0.8.0 556 3/8/2024
0.7.1 236 2/14/2024
0.7.0 493 11/20/2023
0.6.0 1,049 9/7/2023
0.5.0 145 9/1/2023
0.4.2 690 7/12/2023
0.4.1 221 7/6/2023
0.4.0 151 7/5/2023
0.2.0 897 4/16/2021
0.1.0 361 2/11/2021
0.0.3 364 1/11/2021
0.0.2 409 1/8/2021