// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/
using Aspose.Cells.Cloud.SDK.Api;

namespace Aspose.Cells.Cloud.SDK.Example
{
    using Aspose.Cells.Cloud.SDK.Api;
    using Aspose.Cells.Cloud.SDK.Request;
    using System;

    public partial class CellsApiExample
    {
        public void GetWorksheetCellMinRowExample()
        {
            CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret"));
            GetWorksheetCellRequest request = new GetWorksheetCellRequest { name = "Book1.xlsx", sheetName = "Sheet1", cellOrMethodName = "minrow", folder = "TestData/In" };
            cellsApi.GetWorksheetCell(request);
        }
    }
}
//  Obsolet
//CellsApi instance = new CellsApi(clientId, clientSecret, apiVersion, testbaseurl);
//string name = BOOK1;
//string sheetName = SHEET1;
//string cellOrMethodName = "minrow";
//string folder = TEMPFOLDER;
//instance.UploadFile(folder + @"\" + name, File.Open( @"C:\TestData\" +name));
//var response = instance.CellsGetWorksheetCell(name, sheetName, cellOrMethodName, folder);
//Assert.IsInstanceOf<Object>(response, "response is System.IO.Stream");