Skip to content

openfort-xyz/openfort-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Illustration_05 1-min

Openfort C# Library

The Openfort SDK library provides convenient access to the Openfort API from the server-side code of your applications.

Documentation

See the (https://www.openfort.xyz/docs/libraries).

Installation

.NET CLI

dotnet add package Openfort.SDK

Package Manager

NuGet\Install-Package Openfort.SDK

PackageReference

<PackageReference Include="Openfort.SDK" />

Usage

The package needs to be configured with your account's secret key, which is available in the Openfort Dashboard. Require it with the key's value:

var client = new Openfort.SDK.OpenfortClient("sk_test_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX");
var players = await client.Players.List();
Console.WriteLine(players.Data.Count);

Support

New features and bug fixes are released on the latest major version of the openfort package. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages