Skip to content
.NET library for communicating with the GroupDocs.Classification Cloud API
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
GroupDocs.Classification.Cloud.Sdk.Examples
GroupDocs.Classification.Cloud.Sdk.Tests
GroupDocs.Classification.Cloud.Sdk
TestData/Common
tools
.gitignore
GroupDocs.Classification.Cloud.Sdk.sln
LICENSE
Local.testsettings
README.md
Settings.StyleCop
TraceAndTestImpact.testsettings
icon.png

README.md

GroupDocs.Classification Cloud SDK for .NET NuGet

This repository contains GroupDocs.Classification Cloud SDK for .NET source code. This SDK allows you to work with GroupDocs.Classification Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost.

Key Features

  • Classification of texts
  • Classification of documents

See API Reference for full API specification.

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NuGet distribution (recommended). For more details, please visit our documentation website.

Prerequisites

To use GroupDocs.Classification for Cloud .NET SDK you need to register an account with GroupDocs Cloud Dashboard and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see GroupDocs Cloud Pricing.

Installation

Install GroupDocs.Classification-Cloud via NuGet

From the command line:

nuget install GroupDocs.Classification-Cloud

From Package Manager:

PM> Install-Package GroupDocs.Classification-Cloud

From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "GroupDocs.Classification-Cloud".
  5. Click on the GroupDocs.Classification-Cloud package, select the appropriate version in the right-tab and click Install.

Sample usage

The examples below show how your application have to initiate and classify "pdf" file using GroupDocs.Classification-Cloud library:

Getting Started

namespace Example
{
    using System;
    using System.Diagnostics;
    using GroupDocs.Classification.Cloud.Sdk;
    using GroupDocs.Classification.Cloud.Sdk.Api;
    using GroupDocs.Classification.Cloud.Sdk.Model;
    using GroupDocs.Classification.Cloud.Sdk.Model.Requests;

    public class Example
    {
        public void Main()
        {
            //TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud/ (free registration is required).
            var configuration = new Configuration
            {
                AppSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                AppKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
            };

            var apiInstance = new ClassificationApi(configuration);
            var request = new ClassifyRequest(new BaseRequest { Description = "Try Text classification" }, "3");

            try
            {
                var response = apiInstance.classify(request);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ClassificationApi.classify: " + e.Message);
            }
        }
    }
}

Tests contain various examples of using the SDK.

Dependencies

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

You can’t perform that action at this time.