BynderSdk.Extended
1.0.9
dotnet add package BynderSdk.Extended --version 1.0.9
NuGet\Install-Package BynderSdk.Extended -Version 1.0.9
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="BynderSdk.Extended" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BynderSdk.Extended" Version="1.0.9" />
<PackageReference Include="BynderSdk.Extended" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BynderSdk.Extended --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BynderSdk.Extended, 1.0.9"
#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.
#:package BynderSdk.Extended@1.0.9
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BynderSdk.Extended&version=1.0.9
#tool nuget:?package=BynderSdk.Extended&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BynderSdk.Extended
A .NET 9 SDK that wraps the Bynder REST API and File Commands endpoints.
Supports PAT and OAuth2 authentication, metadata retrieval, asset operations, and both upload pipelines (legacy S3 multipart and modern v7/file_cmds).
Install
dotnet add package BynderSdk.Extended
Features
- Metadata: brands, tags, metaproperties, smart filters, workflow meta. Create metaproperties and manage options (single or bulk).
- Assets: list, detailed info, downloads, usage, trash.
- Legacy uploads:
/api/upload/endpoint→/api/upload/init→ chunk upload → register → poll →/api/v4/media/save/{importId}. - Modern uploads:
/v7/file_cmds/upload/prepare→ chunk →/finalise_api. - OAuth2 client credentials or personal access token authentication.
Quick Start
var client = new BynderClient(new BynderClientOptions
{
BaseUri = new Uri("https://yourportal.getbynder.com"),
AccessToken = "<PAT>" // or configure OAuth block
});
var brands = await client.Metadata.GetBrandsAsync();
await using var stream = File.OpenRead("image.jpg");
var result = await client.Uploads.UploadAssetAsync(new LegacyAssetUploadRequest
{
Content = stream,
FileName = "image.jpg",
BrandId = "<brand-id>",
Title = "Image uploaded via BynderSdk.Extended"
});
Create metaproperties and options
var metapropertyResponse = await client.Metadata.CreateMetapropertyAsync(new MetapropertyCreateRequest("campaign", "Campaign", "select")
{
Labels = new Dictionary<string, string>
{
["en_US"] = "Campaign"
},
IsFilterable = true,
IsEditable = true,
Options = new[]
{
new MetapropertyCreateOption("launch", "Launch")
}
});
var metapropertyId = metapropertyResponse.Id ?? throw new InvalidOperationException("Metaproperty creation did not return an identifier.");
await client.Metadata.CreateMetapropertyOptionAsync(metapropertyId, new MetapropertyOptionCreateRequest("blue", "Blue")
{
Labels = new Dictionary<string, string>
{
["en_US"] = "Blue"
},
IsSelectable = true
});
await client.Metadata.CreateMetapropertyOptionsAsync(metapropertyId, new[]
{
new MetapropertyOptionCreateRequest("red", "Red") { IsSelectable = true },
new MetapropertyOptionCreateRequest("green", "Green") { IsSelectable = true }
});
Requirements
- .NET 9.0 or later
- Bynder tenant with API access (PAT or OAuth credentials)
More Information
Source, documentation, and integration tests live at:
https://github.com/rabehajaloic/bynder-sdk
| Product | Versions 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.