namespace Aspose.Cells.Cloud.SDK.Tests.Api.Example
{
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using Aspose.Cells.Cloud.SDK.Request;
    using System.Collections.Generic;
    using Aspose.Cells.Cloud.SDK.Api;
    using System;
    using System.IO;

    [TestClass]
    public class CellsApiExample
    {
          CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret"));

        string localName = "Book1.xlsx";
        string localPath = "D:/TestData/CellsCloud";
        [TestCategory("Cells")]
        [TestMethod]
        public void GetWorksheetAutoFilter()
        {
            IDictionary<string, Stream> mapFiles = new Dictionary<string, Stream>();
            mapFiles.Add(localName, File.OpenRead(localPath +"/"+ localName));
            PostExportRequest request = new PostExportRequest { File = mapFiles, format = "tiff", objectType = "workbook" };
            cellsApi.PostExport(request);



        }


    }
}