aspose_words_cloud 22.7.0 copy "aspose_words_cloud: ^22.7.0" to clipboard
aspose_words_cloud: ^22.7.0 copied to clipboard

outdated

This package allows you to work with Aspose.Words Cloud REST APIs in your Dart applications quickly and easily, with zero initial cost.

example/README.md

// Import dependencies
import 'package:aspose_words_cloud/aspose_words_cloud.dart';
import 'dart:convert';
import 'dart:io';

// Configure words api client
var configuration = Configuration('ClientId', 'ClientSecret');
var wordsApi = WordsApi(configuration);

// Upload file to cloud
var localFileContent = await (File('./test_data/Common/test_doc.docx').readAsBytes());
var uploadRequest = UploadFileRequest(ByteData.view(localFileContent.buffer), 'fileStoredInCloud.docx');
await wordsApi.uploadFile(uploadRequest);

// Save file as pdf in cloud
var saveOptionsData = PdfSaveOptionsData()
  ..fileName = 'destStoredInCloud.pdf';
var saveAsRequest = SaveAsRequest('fileStoredInCloud.docx', saveOptionsData);
await wordsApi.saveAs(saveAsRequest);
11
likes
0
pub points
75%
popularity

Publisher

verified publisheraspose.cloud

This package allows you to work with Aspose.Words Cloud REST APIs in your Dart applications quickly and easily, with zero initial cost.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, http, pedantic, pointycastle, uuid

More

Packages that depend on aspose_words_cloud