Smartsheet C# SDK
Welcome to the Smartsheet C# SDK API documentation. This library provides a simple and intuitive interface for interacting with the Smartsheet API using C#.
Overview
The Smartsheet C# SDK allows you to integrate Smartsheet functionality into your .NET applications. It provides strongly-typed models and a comprehensive set of resources for managing sheets, rows, columns, attachments, and more.
Installation
Install the SDK via NuGet Package Manager:
Install-Package smartsheet-csharp-sdk
Or using the .NET CLI:
dotnet add package smartsheet-csharp-sdk
Quick Start
using Smartsheet.Api;
using Smartsheet.Api.Models;
// Initialize the client
SmartsheetClient smartsheet = new SmartsheetBuilder()
.SetAccessToken("YOUR_ACCESS_TOKEN")
.Build();
// Get a sheet
Sheet sheet = smartsheet.SheetResources.GetSheet(sheetId, null, null, null, null, null, null, null);
// List all sheets
PaginatedResult<Sheet> sheets = smartsheet.SheetResources.ListSheets(null, null, null);
Key Features
- Comprehensive API Coverage: Full support for Smartsheet API operations
- Strongly Typed Models: Type-safe access to all Smartsheet objects
- Builder Pattern: Intuitive builders for creating and updating objects
- Error Handling: Robust exception handling for API errors
- OAuth Support: Built-in OAuth 2.0 authentication flow
API Reference
Browse the complete API reference to explore all available classes, methods, and models:
- Smartsheet.Api - Core API interfaces and resources
- Smartsheet.Api.Models - Data models and types
- Smartsheet.Api.OAuth - OAuth authentication
Resources
Support
For issues, questions, or contributions, please visit our GitHub Issues page.