Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Image4IO/image4ioDotNetSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nuget GitHub GitHub top language

image4ioDotNetSDK

image4io is a cloud service where your images are uploaded, moved, copied, feched, deleted.

Configuration

To send requests to API, APIKey.key and APISecret.key must be created first. Then, APIKey and APISecret should written into files.

           Image4ioAPI Api = new Image4ioAPI("{APIKEY}","{API SECRET}");

Usage

With Image4io it is very easy to do an operation on your images.

The following example uploads a file from your local to cloud. The Path parameter is optional

FileStream stream = File.Open(@"Assets\a.png", FileMode.Open);

 var model = new image4ioDotNetSDK.Models.UploadRequestModel()
            {
                Path = "filepath"
            };
            model.Files.Add(stream);  
            var response = api.Upload(model);

The following example deletes a file from your cloud.

  var model = new image4ioDotNetSDK.Models.DeleteRequestModel
  
            {
                name = "image.jpg"
            };

            var response = api.Delete(model);

Running Unit Tests

  • Clone the repository to your local git clone https://github.com/Image4IO/image4ioDotNetSDK.git
  • Open image4ioDotNetSDK.sln > image4ioDotNetSDKTest
  • UnitTest1 > Run Tests

Contact Us

Image4io team is always ready to support you.

image4.io/en/contact

Follow Us

Blog: image4.io/en/blog/

Twitter: twitter.com/image4io

LinkedIn : linkedin.com/company/image4io/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages