seam logo

Hello C# SDK!

2023-09-22

Today we are releasing a beta version of our official C# SDK! You can find official packages here.

Why Release SDKs?

At Seam, we spend countless hours designing the best possible developer experience for interacting with IoT devices. Importantly, we think being able to control devices directly in your language of choice by providing language-specific SDKs is better than using the HTTP API directly (although you still can!). We craft these SDKs to give you object & types, error handling, and casing/styling that matches your preferred language.

Ballmer going developers developers developers

Rolling out C#

When we launched our API in 2022, we initially only released Javascript and Python SDKs. Soon after, we introduced PHP and Ruby as more developers began asking for these languages.

Today, we are releasing a beta of our C# SDK. This SDK comes with all the functions exposed by the Seam API and lets you control devices more effortlessly. For example, you can retrieve your devices with the following function call.

1using Seam.Client;
2
3var seam = new SeamClient(apiToken: "YOUR_API_KEY");
4
5var myDevices = seam.Devices.List();
6
7Console.WriteLine("First Device Name: " + myDevices[0].Properties.Name);
8
9var accessCode = seam.AccessCodes.Create(deviceId: myDevices[0].DeviceId, code: "1234");

This SDK is still in early beta and we expect to be moving rapidly toward a stable release in the near future. If you find bugs, inconsistencies, or issues, please let us know by emailing support@getseam.com.