GroupDocs.Viewer Cloud V2 Version

GroupDocs.Viewer Cloud REST API V2 is finally here! You may wonder how it is different than V1. The V2 version API is more simplified API than V1, API with less methods and options. Also, it has more optimized and refined internal architecture. This version made easy to work with cloud storage. Now you do not need to use a separate storage API for the purpose. The API includes methods for performing different storage related operations..learn more.

What’s New

  • Viewer API – Simplified main API methods for getting information about documents and rendering them
  • File API – Methods for upload, download, copy, move, delete files: input documents and rendering results, in the cloud storage
  • Folder API – Methods for create, copy, move, delete folders in the cloud storage
  • Storage API – Methods for getting storage information and file information

GroupDocs.Viewer Cloud V2 in Action

Are you developing a single solution that targets different devices? So you would be interested in Responsive Web Design. We have a good news for you, GroupDocs.Viewer Cloud V2 offers a feature to create a responsive HTML view, that looks good on all devices (desktops, laptops, tablets, and phones). Let us demonstrate how to create a response HTML view of a DOCX. We are using cURL for the REST API requests in this example. There are other SDKs available to use GroupDocs.Viewer Cloud API directly in your favorite platform.

Following steps are involved in this example:

  • Get authentication code
  • Upload source file to storage
  • Create responsive HTML view
  • Download responsive HTML view

Get authentication code

Upload source file to storage

We are uploading source file to default storage of groupdocs.cloud. However, you can use 3rd party storage with groupdocs.cloud Cloud APIs as well.

Create responsive HTML view

We need to use the IsResponsive option of HtmlOptions for creating a responsive HTML view. The default value of this option is false.

Download response HTML result

File API is used to download files from storage. We will download response HTML view created in the previous step as a stream.

Posted in GroupDocs.Viewer Cloud Product Family | Tagged , , , , | Leave a comment

Classify Your Text using GroupDocs.Classification Cloud API

Classification of text is also known as text categorization. Text classifiers can be used to establish, structure, and categorize almost anything in the text. For example, new articles can be prearranged by topics, support tickets can be organized by urgency, discussions can be organized by language and brand mentions can be organized by emotion etc.
GroupDocs.Classification Cloud API enables you to classify your raw text as well as documents ‎into the predefined categories. The Classification Cloud supports multiple taxonomy types, such as IAB-2 ‎taxonomy and Document taxonomy. Classification information can be viewed regarding classes as well ‎as their respective probabilities.

Noticeable Features

  • Perform raw text classification as per IAB-2 taxonomy
  • Classify documents based on Document taxonomy
  • View classes with their respective probabilities as classification information
  • Easy integration with REST API
  • Secure APIs that require authentication

Supported formats

GroupDocs.Classification Cloud REST API supports the classification of:

  • Raw text
  • Documents
    • Portable Document Format: PDF
    • Microsoft Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM
    • OpenDocument Formats: ODT, OTT
    • Rich Text Format: RTF
    • Plain Text File: TXT

Raw Text Classification

This API retrieves raw text classification result for IAB-2 taxonomy or Documents taxonomy. It returns an object that contains information about the best class and its probability and about probabilities of the other classes.

Request


curl -v "http://api.groupdocs.com/v1/classification/classify&bestClassesCount=3" 
-H "content-type: application/json"
-X POST -d '{ "Description" : "Medicine is an important part of our life" }'

Response


{
  "bestClassName": "Healthy_Living",
  "bestClassProbability": 53.77,
  "bestResults": [
    {
      "className": "Healthy_Living",
      "classProbability": 53.77
    },
    {
      "className": "Medical_Health",
      "classProbability": 38.27
    },
    {
      "className": "Pets",
      "classProbability": 1.98
    }
  ],
  "code": 200,
  "status": "OK"
}

Documents Classification

GroupDocs.Classification API retrieves document classification result for IAB-2 taxonomy or Documents taxonomy. It returns an object that contains information about the best class and its probability and about probability of other classes. Please click here for further details regarding supported document formats in GroupDocs.Classification Cloud.

Request


curl -v "http://api.groupdocs.com/v1/classification/classify"
-H "content-type: application/json"
-X POST -d '{ "Document": {"Folder": "words/docx","Name": "four-pages.docx" } }'

Response


{
  "bestClassName": "Books_and_Literature",
  "bestClassProbability": 48.92,
  "bestResults": [],
  "code": 200,
  "status": "OK"
}
Posted in GroupDocs.Classification Cloud Product Family | Leave a comment

Upcoming Release of GroupDocs.Assembly Cloud

We are pleased to share that the first release of GroupDocs.Assembly Cloud REST API is about to launch. It is a document automation and reports generation REST API designed to create custom documents from the templates. This REST API intelligently assembles the given data with the defined template document and generates an output document based on the data source, in the template’s format as well as in the specified output format.

GroupDocs.Assembly Cloud REST API will give you a rich set of document automation and report generation features on any platform with minimal learning curve. The REST API itself does not require any additional software. However, you will require Microsoft Office in order to create templates just like you create docs.

Salient features

  • Supports Reports of Numerous Types, e.g., Charts, Lists, Tables, Images and more
  • Perform Ordinal, Cardinal, Alphabetic Numeric Formatting in Template Syntax
  • Capable to Manipulate Data using Formulae & Sequential Data Operations
  • Format Strings in Template Syntax to be Upper, Lower, Capital, FirstCap
  • Define Variables in Template Documents
  • Dynamically Insert Contents of Outer Documents to your Reports
  • Dynamically Generate Barcode Image in Reports & Set Background Color for HTML Documents
  • Dynamically Assign Attributes to Email Message Body & Insert Hyperlinks in Reports
  • Dynamically Build Email Message Attachments
  • Support for Analogue of Microsoft Word NEXT Field
  • Update Fields while Assembling Word Processing Documents
  • Calculate Formula while Assembling Spreadsheet Documents
  • Format Numeric, Text, Image, Chart, Date-Time Elements of Template
  • Perform Conditional Text Formatting of Template Elements
  • Use LINQ-Based Syntax for Template
  • Change File Format of the Assembled Document using File Extension or Explicit Specs
  • Automatically Remove Empty Paragraphs

Supported formats

GroupDocs.Assembly Cloud REST API supports following file formats:

  • Word: DOC, DOCX, DOT, DOTX, DOTM, DOCM, RTF, WordprocessingML (XML)
  • Excel: XLS, XLSX, XLSM, XLSB, XLT, XLTM, XLTX, SpreadsheetML (XML)
  • PowerPoint: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POTX, POTM
  • Outlook: EML, EMLX, MSG
  • OpenOffice Document Formats: ODT, OTT, ODS, ODP
  • Email: MHT, MHTML
  • Web: HTML
  • Other: TXT

Data Sources:

  • XML
  • JSON

Our first version

We are currently in the process of preparing Examples and Documentation for this new product. We have planned to release the first version of GroupDocs.Assembly Cloud REST API soon with features shared above. If you have any questions or suggestions, please feel free to write on groupdocs.cloud Forum.

 

Please stay tuned to this blog for further updates.

Posted in GroupDocs.Assembly Cloud Product Family | Leave a comment

Documents Manipulation Cloud REST APIs & SDKs – groupdocs.cloud Newsletter February 2019

LinkedIn Twitter Facebook
Share this issue:

Monthly Newsletter

February 2019

e-Sign Documents Within Ruby-based Cloud Applications
Apply different types of signatures in supported file formats

 
Securely Sign Official Documents with Stamp Signatures
 

Groupdocs.Signature Cloud SDK for Ruby is launched now. It is a REST oriented API for easy integration into existing Ruby ‎based digital signature programs. It supports applying various types of signatures such as: image, text, ‎barcode, QR code, digital and stamp signatures. This cloud SDK for Ruby is highly ‎customizable and allows working with signatures in Word, Excel, PowerPoint, PDF, OpenDocument and image file formats.

Explore NOW Free Trial

Product News

Product News

Product News

 
Feedback

Feedback

Feedback

 

Posted in Customer Newsletters | Leave a comment

GroupDocs.Classification Cloud is Launching Soon!

GroupDocs is the market leader of document manipulation APIs. It provides a wide range of APIs, covering all popular file formats. We are excited to introduce another unique product: GroupDocs.Classification Cloud REST API. It will perform classification to known categories. It will support text and document classification into Interactive Advertising Bureau taxonomy (IAB-2) or Documents taxonomy. The Documents classification is often used in various business processes to automate the flow of documents through the organization. GroupDocs.Classification Cloud REST API is a platform independent REST API, that will allow developers to add document/text classification feature in their applications using a simple set of requests.

Supported formats

GroupDocs.Classification Cloud REST API supports the classification of:

  • Raw text
  • Documents
    • Portable Document Format: PDF
    • Microsoft Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM
    • OpenDocument Formats: ODT, OTT
    • Rich Text Format: RTF
    • Plain Text File: TXT

Supported Taxonomy

Taxonomy (general) is the practice and science of classification of things or concepts, including the principles that underlie such classification. We will support two taxonomies in the first version:

IAB-2 taxonomy

  • Automotive
  • Books_and_Literature
  • Business_and_Finance
  • Careers
  • Education
  • Events_and_Attractions
  • Family_and_Relationships
  • Fine_Art
  • Food_&_Drink
  • Healthy_Living
  • Hobbies_&_Interests
  • Home_&_Garden
  • Medical_Health
  • Movies
  • Music_and_Audio
  • News_and_Politics
  • Personal_Finance
  • Pets
  • Pop_Culture
  • Real_Estate
  • Religion_&_Spirituality
  • Science
  • Shopping
  • Sports
  • Style_&_Fashion
  • Technology_&_Computing
  • Television
  • Travel
  • Video_Gaming

Documents taxonomy

  • ADVE – advertisements, brochures.
  • Email
  • Form
  • Letter
  • Memo – memorandums.
  • News – articles, including news articles.
  • Invoice
  • Report
  • Resume
  • Scientific – scientific papers.
  • Other – the other classes of documents or cases where the classifier is not sure.

Our First Version

We are currently in the process of preparing Examples and Documentation for this new product. We have planned to release the first version of GroupDocs.Classification Cloud REST API soon with features shared above. If you have any questions or suggestions, please feel free to write in groupdocs.cloud Forum.

 

Please stay tuned to this blog for further updates.

Posted in GroupDocs.Classification Cloud Product Family | Leave a comment

Support of Outlook Data Files and Set List to Exclude Fonts in GroupDocs.Viewer Cloud 18.11

We are happy to announce GroupDocs.Viewer Cloud 18.11 release. This release includes some new features, enhancements and other bug fixes that further improve the overall stability and usability of the API. We have introduced the support of PST, OST, CGM format in this version. Some other important features are excluding font list while rendering the document as HTML and rendering MS Project document by the start and end date of the project. Please check the detailed release notes of this version to get an idea about all the new features/enhancements and fixes made in this release.

The following sections describe some details regarding these features.

Rendering the Outlook Data Files

In this version, we have included the support of MS Outlook data files rendering. Now you can render PST and OST formats. You can also use OutlookOptions object for rendering MS Outlook data files. Please check documentation for more details.

curl --request POST \
  --url https://api.groupdocs.cloud/v1/viewer/data.pst/html/pages \
  --header 'authorization: Bearer [Access Token]' \
  --header 'content-type: application/json' \
  --data '{"outlookOptions": {"maxItemsInFolder": "10"}}'

Exclude Fonts List from HTML Transformation of Documents

Adding fonts into HTML ensures that the text of the original document will appear similar in HTML, but at the same it increase the output file size. Now you can exclude specific fonts that are commonly available on most of the devices. GroupDocs.Viewer API provides a new setting – HtmlOptions.ExcludeFontsList for this feature. Currently, it works only for Presentation documents. We are planning to extend support for this feature for all document types where it is applicable in the upcoming releases. The example below shows how to prevent adding fonts in the output HTML.

curl --request POST \
  --url https://api.groupdocs.cloud/v1/viewer/sample.pptx/html/pages \
  --header 'authorization: Bearer [Access Token]' \
  --header 'content-type: application/json' \
  --data '{"embedResources": true, "excludeFontsList": ["Arial"]}'

Other Improvements

The most notable features in this release are:

  • Added next file formats support:
    • CGM (Computer Graphics Metafile)
    • PST (MS Outlook data file)
    • OST (MS Outlook data file)
    • PCL (Printer Command Language)
    • TSV (Tab Separated values)
  • Temporally removed support for CAD file formats (DXF, DWG, DWF, DGN)
  • Added Time interval option for rendering MS Project documents
  • Added possibility to get project start and end dates from MS Porject document
  • Added support of rendering Microsoft Project documents as HTML with embedded resources
  • Added new option which allows setting list of fonts to exclude when rendering into HTML

GroupDocs.Viewer Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Viewer Cloud Product Family | Tagged , , , | Leave a comment

GroupDocs.Cloud January 2019 – 25% off GroupDocs.Total Cloud APIs for 12 Months

LinkedIn Google+ Twitter Facebook
Share this issue:

Monthly Newsletter

January 2019

Holiday Offer – Get 25% off GroupDocs.Total Cloud APIs

Get 25% off GroupDocs.Total Cloud APIs

GroupDocs.Total Cloud brings together all GroupDocs APIs in one suite of Cloud APIs and is great value for money. This holiday season GroupDocs is making it even better value by giving you 25% off GroupDocs.Total Cloud.

Simply enter the coupon code HOLOFF2018 when placing your order.

Buy Now

This offer is only available on new GroupDocs.Total purchases and cannot be used in conjunction with other offers, renewals or upgrades. Only available directly from GroupDocs.cloud, not through third parties or resellers. Ts & Cs Apply, offer subject to change with no notice.

Product News

Product News

Product News

Feedback

Feedback

Feedback
Posted in Customer Newsletters | Leave a comment

Releasing Ruby SDK for GroupDocs.Signature Cloud

GroupDocs.Signature CloudWe are pleased to announce Ruby SDK of GroupDocs.Signature Cloud. This SDK supports all features introduced in GroupDocs.Signature Cloud API. Number of test cases are available in Ruby SDK to understand GroupDocs.Signature Cloud API and implement its features in your Ruby applications easily. Please click here for further details .

GroupDocs.Signature Cloud is a REST API which supports digitally signing a variety of documents with different signature types like Text Signatures with various formats, Image Signatures, Digital Signatures, Barcode and QR-Code Signatures. It also supports search and verification of signatures in documents and many more. Please click here for further details. GroupDocs.Signature Cloud SDK for Ruby has been developed to help you integrate all these features in your Ruby based applications without any hassle.

GroupDocs.Signature Cloud SDK for Ruby – Introduction

GroupDocs.Signature Cloud SDK for Ruby is introduced for its Ruby developers. It is a wrapper around the REST APIs, that allows you to work with GroupDocs.Signature Cloud REST APIs in Ruby based platform quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at GitHub.

GroupDocs.Signature Cloud SDK for Ruby – Examples

GroupDocs.Signature Cloud SDK for Ruby Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the GroupDocs.Signature Cloud REST API. Please see the SDK examples of following categories.

Installation

You need to install Ruby gem for communicating with the GroupDocs.Signature Cloud API. A gem of GroupDocs_Signature_Cloud is available at rubygems.org. You can install it with:

gem install groupdocs_signature_cloud

Data

In order to render any supported files, you first need to upload them to the GroupDocs cloud storage or 3rd party cloud storage to use GroupDocs.Signature Cloud API.

Getting Started

Once you are done with installation of package and dependencies in your project, You can easily call the API in your Ruby based code to consume the API features. Here is the sample code to demonstrate the working of GroupDocs.Signature Cloud API using Ruby SDK. Please follow the installation procedure and then run the following Ruby code:

# Load the gem
require 'groupdocs_signature_cloud'
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
# Create instance of the API class
conf = GroupDocsSignatureCloud::Configuration.new(app_sid, app_key)
conf.api_host = "http://api-qa.groupdocs.cloud"
conf.api_base_url = "ApiBaseUrl": "http://api-qa.groupdocs.cloud"
api = GroupDocsSignatureCloud::SignatureApi.new(conf)
# Retrieve supported file-formats
response = api.get_supported_formats()
# Print out supported file-formats
puts("Supported file-formats:")
response.formats.each do |format|
puts("#{format.file_format} (#{format.extension})") 
end   

GroupDocs.Signature Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Signature Cloud Product Family | Leave a comment

Introducing Python SDK for GroupDocs.Signature Cloud

GroupDocs.Signature CloudThe GroupDocs Cloud team is committed to provide SDKs for different platform for its users. In this regard, we are glad to inform you about another SDK release, GroupDocs.Signature Cloud SDK for Python. This SDK provides a complete solution to consume GroupDocs.Signature Cloud API in Python to sign supported documents in your cloud application.

GroupDocs.Signature Cloud is REST API which supports sign documents (over 20+ document formats) with different signature types like Text Signatures with various format, Image Signatures, Digital Signatures, Barcode and QR-Code Signatures. It also provides support to verify documents for signatures, search for signatures in documents and many more. Please click here for further details. GroupDocs.Signature Cloud SDK for Python has been developed to help you integrate all these features in your Python based application without any hassle.

GroupDocs.Signature Cloud SDK for Python – Introduction

GroupDocs.Signature Cloud SDK for Python is introduced for its Python developers. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Signature Cloud REST APIs in Python based platform quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at GitHub.

GroupDocs.Signature Cloud SDK for Python – Examples

GroupDocs.Signature Cloud SDK for Python Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the GroupDocs.Signature Cloud REST API. Please see the SDK examples of following categories.

Installation

GroupDocs.Signature Cloud SDK for Python is also available as released package in the PyPI (Python Package Index). You can bypass source code repository and depend directly on the released package by installing from PyPI:

pip install groupdocs-signature-cloud

Data

In order to render any supported files, you first need to upload them to the GroupDocs cloud storage or 3rd party cloud storage to use GroupDocs.Signature Cloud API.

Getting Started

Once you are done with installation of package and dependencies in your project, You can easily call the API in your Python based code to consume the API features. Here is the sample code to demonstrate the working of GroupDocs.Signature Cloud API using Python SDK. Please follow the installation procedure and then run the following Python code:

# Import module
 import asposestoragecloud
 import groupdocs_signature_cloud
 from groupdocs_signature_cloud.models.requests.post_search_barcode_request import PostSearchBarcodeRequest
 from groupdocs_signature_cloud.models import *

 host = "http://api-qa.groupdocs.cloud"   # Put your Host URL here
 base_url = "http://api-qa.groupdocs.cloud/v1" #Put your Base URL here
 api_key = "" #Put your App Key here
 app_sid = "" #Put your App Sid here
 storageName = "Signature-Dev" #Put your storage name here
 storageFolder = "signed" #Put your storage folder path here
 storageFileName = "SignedForVerificationAll.pdf" #Put your storage file name here
 filePassword = "" #Put your file password here if file is encrypted
 localFilePath = "C:\\SignedForVerificationAll.pdf" #Put your local file path here

 # File uploading (it could be skipped if file is already uploaded)
 # initialization of configuration for storage api client
 storageConfiguration = asposestoragecloud.Configuration()
 storageConfiguration.host = host
 storageConfiguration.base_url = base_url
 storageConfiguration.api_key_prefix = "Bearer"

 # initialization of storage api client
 storageApiClient = asposestoragecloud.ApiClient(apiKey = api_key, appSid = app_sid, configuration = storageConfiguration)
 storageApi = asposestoragecloud.apis.StorageApi(storageApiClient)
 # file uploading
 filestream = open(file = localFilePath, mode = "rb")
 storageApi.put_create(path = storageFolder + "\\" + storageFileName, file = filestream, storage = storageName)      
 filestream.close()    
 print("Uploaded: " + storageFolder + "\\" + storageFileName)     

 # Signature search
 # initialization of configuration for signature api client
 configuration = groupdocs_signature_cloud.Configuration()
 configuration.host = host
 configuration.base_url = base_url
 configuration.api_key["api_key"] = api_key
 configuration.api_key["app_sid"] = app_sid
 
 # initialization of signature api client
 signatureApi = groupdocs_signature_cloud.SignatureApi(configuration=configuration)

 # initialization of search options
 options = PdfSearchBarcodeOptionsData()
 # set barcode properties
 options.barcode_type_name ="Code39Standard"
 options.text = "12345678"
 # set match type
 options.match_type ="Contains"
 #set pages for search
 options.document_page_number = 1

 # initialization of search request
 request = PostSearchBarcodeRequest(storageFileName, options, filePassword, storageFolder, storageName)

 # getting response
 response = signatureApi.post_search_barcode(request)
 
 # checking response
 self.assertNotEqual(response, False)
 self.assertEqual(response.code, "200")
 self.assertEqual(response.status, "OK")
 self.assertIn(storageFileName, response.file_name)
 self.assertEqual(response.folder, storageFolder)
 self.assertNotEqual(response.signatures, False)
 self.assertGreater(len(response.signatures), 0)
 signature = response.signatures[0]
 self.assertEqual(signature.text, "123456789012")
 self.assertEqual(signature.barcode_type_name, "Code39Standard")
 self.assertIn("BarcodeSignatureData", signature.signature_type)   

GroupDocs.Signature Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Signature Cloud Product Family | Leave a comment

GroupDocs.Annotation Cloud SDKs for Java and Ruby are Now Available

The GroupDocs Cloud product team is committed to provide its SDKs for all popular platforms. In this course of action, we are pleased to announce the release of Java and Ruby SDKs for GroupDocs.Annotation Cloud. These SDKs provide full functionality of GroupDocs.Annotation Cloud API to help you seamlessly annotate the documents on your favorite platforms.

By using GroupDocs.Annotation REST APIs, developers can manage interactive and explanatory annotations for specific words, phrases and regions of the document content in any cross platform application. It supports all major Text and Figure annotations and on top of all features, it provides these annotation features without having to install any third party software. Please check complete list of features of GroupDocs.Annotation Cloud.

Please check following documentation links to get familiar with SDK and its usage to invoke resources and operations using the GroupDocs.Annotation Cloud REST API.

The following sections describe some details regarding newly launched SDKs.

Java SDK

GroupDocs.Annotation Cloud SDK for Java is a wrapper around GroupDocs.Annotation REST APIs, it allows you to add advanced annotation feature in you Java application quickly and easily, gaining all benefits of strong types and IDE highlights. The Maven distribution is available to include Java SDK in your Maven project or you can use Java SDK source code from GitHub. The SDK includes working examples, to get you started in no time.

Ruby SDK

We have also introduced Ruby SDK for GroupDocs.Annotation Cloud. It is a wrapper around GroupDocs.Annotation REST APIs. It allows you to incorporate GroupDocs.Annotation cloud service in your Ruby Application quickly and effortlessly. The Ruby distribution package is available at rubyGem.org and the source code at GitHub. The SDK includes working examples, to get you started in no time.

GroupDocs.Annotation Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Annotation Cloud Product Family | Tagged , , , , , , | Leave a comment