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 Aspose.Cells.Cloud.SDK.Model;
    using System;
    using System.IO;

    [TestClass]
    public class CellsApiExample
    {
          string CellsCloudClientId ="....";//get from https://dashboard.aspose.cloud/#/applications
        string CellsCloudClientSecret="...";//get from https://dashboard.aspose.cloud/#/applications
        string localName = "Book1.xlsx";
        string localPath = "D:/TestData/CellsCloud";
        [TestCategory("Cells")]
        [TestMethod]
        public void Example()
        {

            IDictionary<string, Stream> mapFiles = new Dictionary<string, Stream>();
            mapFiles.Add(localName, File.OpenRead(localPath +"/"+ localName));
            PostClearObjectsRequest request = new PostClearObjectsRequest { File = mapFiles, objecttype = "background", outFormat = "pdf" };
            cellsApi.PostClearObjects(request);


        }


    }
}