ByteScout Cloud API Server - PDF Classifier - C# - Classify PDF From URL - ByteScout

ByteScout Cloud API Server – PDF Classifier – C# – Classify PDF From URL

  • Home
  • /
  • Articles
  • /
  • ByteScout Cloud API Server – PDF Classifier – C# – Classify PDF From URL

PDF classifier in C# using ByteScout Cloud API Server

ByteScout Cloud API Server is API server that is ready to use and can be installed and deployed in less than 30 minutes on your own Windows server or server in a cloud. It can save data and files on your local server-based file storage or in Amazon AWS S3 storage. Data is processed solely on the API server and is powered by ByteScout engine, no cloud services or Internet connection is required for data processing..

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

program.cs

      
using System; using RestSharp; namespace HelloWorldApplication { class HelloWorld { static void Main(string[] args) { var client = new RestClient("http://localhost:80/pdf/classifier"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); var body = @"{" + "\n" + @" ""url"": ""https://bytescout-com.s3-us-west-2.amazonaws.com/files/demo-files/cloud-api/document-parser/sample-invoice.pdf""," + "\n" + @" ""rulescsv"": ""Amazon,Amazon Web Services Invoice|Amazon CloudFront\nDigital Ocean,DigitalOcean|DOInvoice\nAcme,ACME Inc.|1540 Long Street, Jacksonville, 32099""," + "\n" + @" ""caseSensitive"": ""true""," + "\n" + @" ""async"": false," + "\n" + @" ""encrypt"": ""false""," + "\n" + @" ""inline"": ""true""," + "\n" + @" ""password"": """"," + "\n" + @" ""profiles"": """"" + "\n" + @"} "; request.AddParameter("application/json", body, ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); } } }

VIDEO

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also:

Tutorials:

prev
next