Skip to content

tranconbv/Cloudinary.Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudinary core

This is a direct port from CloudinaryDotNet official nuget package. so namespaces are (yet) the same, and all code should be the same.

Although code is split up over several nuget packages to reduce footprint if you just want to use the basic api calls.

Usages

var client = new Cloudinary("cloudinary://urlFromYourDashboard");
var sample = Cloudinary.GetResource("sample");

depdency DependencyInjection

IServiceCollection services.AddCloudinary(); //will get CLOUDINARY_URL env variable for authentication
//or services.AddCloudinary(new Account(user, key));
var sample = Cloudinary.GetResource("sample");

//It will get injected in constructor now.
constructor(Cloudinary cloudinary){
    cloudinary.DoApiCall();
}

#Contributing

Contributions are welcome, for and make a pull request as you wish.

This repo uses node npm package.json scripts for easy build and packing without ide, but you'll need to have installed node on your system.

npm run build #builds all non test projects
npm test #tests all projects
npm run pack #creates nuget packages in git root.

About

A custom revision on original cloudinary API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published