https://github.com/seamapi/csharp
CSharp SDK autogenerated from nextlove types.
https://github.com/seamapi/csharp
maintained
Last synced: 7 months ago
JSON representation
CSharp SDK autogenerated from nextlove types.
- Host: GitHub
- URL: https://github.com/seamapi/csharp
- Owner: seamapi
- Created: 2023-09-21T22:58:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-30T23:16:36.000Z (7 months ago)
- Last Synced: 2025-10-01T01:11:22.871Z (7 months ago)
- Topics: maintained
- Language: C#
- Homepage:
- Size: 1.58 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Seam C#
[](https://github.com/seamapi/nextlove-sdk-csharp/actions/workflows/check.yml)
Seam
## Local setup
For C# development, you will need to install `dotnet`
Download the installer [here](https://learn.microsoft.com/en-us/dotnet/core/install/macos)
Then, you may need to create a symlink
```bash
ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
```
Finally, install csharpier
```bash
# if you don't yet have a .config/dotnet-tools.json file
dotnet new tool-manifest
dotnet tool install -g csharpier
```
## How to update the SDK
Once you've completed all the steps in the Local setup section, you can run the following command to update the SDK
```bash
npm run generate
```
## Installation
Use [nuget](https://www.nuget.org/packages/Seam) to install.
## Usage
```csharp
using Seam.Client;
var seam = new SeamClient(apiToken: "YOUR_API_KEY");
var myDevices = seam.Devices.List();
Console.WriteLine("First Device Name: " + myDevices[0].Properties.Name);
var accessCode = seam.AccessCodes.Create(deviceId: myDevices[0].DeviceId, code: "1234");
```