FigmaDotNet 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FigmaDotNet --version 1.3.0                
NuGet\Install-Package FigmaDotNet -Version 1.3.0                
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="FigmaDotNet" Version="1.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FigmaDotNet --version 1.3.0                
#r "nuget: FigmaDotNet, 1.3.0"                
#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 FigmaDotNet as a Cake Addin
#addin nuget:?package=FigmaDotNet&version=1.3.0

// Install FigmaDotNet as a Cake Tool
#tool nuget:?package=FigmaDotNet&version=1.3.0                

FigmaDotNet

.NET SDK for Figma REST API

This project provides a http client for dotnet to interact with the Figma REST API.

Getting started

Install the Nuget package from nuget.org or github.com

dotnet add package FigmaDotNet

You have to add a config to your application:

{
  "Values": {
    "FigmaHttpClient": {
      "ApiToken": "###",
      "RetryAmount": 5, // optional
      "TimeoutMinutes": 5 // optional
    }
  }
}

Check https://help.figma.com/hc/en-us/articles/8085703771159-Manage-personal-access-tokens how to get a personal access token in Figma.

The API token can also be applied via the constructor of the FigmaHttpClient, as well as the retryAmount:

var figmaHttpClient = new FigmaHttpClient(logger, configuration, apiKey: "###", retryAmount: 5);;

Further development topics & missing features

  • Not all endpoints are implemented yet.
  • Only .Net 9 is supported.
  • Missing documentation.
  • Rate limit customization in config.

Change log

v1.3.0:
  • Added ServiceCollectionExtensions to extract http client and made it configurable.
  • The configuration key FIGMA_API_TOKEN has changed to FigmaHttpClient:ApiToken.
  • New configuration key FigmaHttpClient:TimeoutMinutes was added to configure http service timeout. Default is 5 minutes.
v1.1.1:
  • Extend FileResponse with Branches and Document properties.
v1.1.0:
  • Removed property InternalName from FigmaComponent.
  • Removed property InternalName from WebhookLibraryUpdatePayload.
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows 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
1.3.2 0 1/9/2025
1.3.1 79 1/3/2025
1.3.0 71 1/3/2025
1.2.8 89 12/20/2024
1.2.7 74 12/20/2024
1.2.6 77 12/19/2024
1.2.5 77 12/19/2024
1.2.4 75 12/19/2024
1.2.3 75 12/19/2024
1.2.2 77 12/19/2024
1.2.1 77 12/18/2024
1.2.0 73 12/18/2024
1.1.6 74 12/18/2024
1.1.5 77 12/17/2024
1.1.4 81 12/17/2024
1.1.3 95 12/17/2024
1.1.2 91 12/16/2024
1.1.1 84 12/5/2024
1.1.0 120 12/5/2024
1.0.5 92 12/4/2024
1.0.4 106 12/4/2024
1.0.3 89 12/4/2024
1.0.2 84 12/4/2024
1.0.1 88 12/4/2024
1.0.0 91 12/4/2024