package main

import (
	"os"

	.  "github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25"
)

func main() {
	instance := NewCellsApiService(os.Getenv("ProductClientId"), os.Getenv("ProductClientSecret"), "https://api.aspose.cloud", "v3.0")
	book1Xlsx := "Book1.xlsx"

	var mapFiles map[string]string
	mapFiles = make(map[string]string)
	mapFiles[book1Xlsx] = book1Xlsx

	request := new(GetMetadataRequest)
	request.File = mapFiles
	request.Type_ = "all"
	_, httpResponse, err := instance.GetMetadata(request)
	if err != nil {
		println(err.Error())
	} else if httpResponse.StatusCode < 200 || httpResponse.StatusCode > 299 {
		println("Fail")
	}
}