Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.66 KB

README.md

File metadata and controls

45 lines (38 loc) · 1.66 KB

Bynder C# SDK

Build Status

The main goal of this SDK is to speed up the integration of Bynder customers who use C# making it easier to connect to the Bynder API (http://docs.bynder.apiary.io) and executing requests on it.

Nuget Package

You can download and use Bynder SDK from Nuget. https://www.nuget.org/packages/Bynder.Sdk/

Current status

At the moment this SDK provides a library with the following methods:

Login

Task<User> LoginAsync(string email, string password);
Task GetAccessTokenAsync();
Task GetRequestTokenAsync();
string GetAuthorizeUrl(string callbackUrl);
void Logout();

Asset management operations

Task<IList<Brand>> GetBrandsAsync();
Task<Uri> GetDownloadFileUrlAsync(DownloadMediaQuery query);
Task<IDictionary<string, Metaproperty>> GetMetapropertiesAsync();
Task<Media> RequestMediaInfoAsync(MediaInformationQuery query);
Task<IList<Media>> RequestMediaListAsync(MediaQuery query);
Task UploadFileAsync(UploadQuery query);
Task ModifyMediaAsync(ModifyMediaQuery query);

Collection management operations

Task<IList<Collection>> GetCollectionsAsync(GetCollectionsQuery query);
Task<Collection> GetCollectionAsync(string id);
Task CreateCollectionAsync(CreateCollectionQuery query);
Task DeleteCollectionAsync(string id);
Task<IList<string>> GetMediaAsync(GetMediaQuery query);
Task AddMediaAsync(AddMediaQuery query);
Task RemoveMediaAsync(RemoveMediaQuery query);
Task ShareCollectionAsync(ShareQuery query);

Sample

To see how to use the SDK, please check ApiSample.cs