Text Summarization API for .Net


To use our Text Summarization API in .Net, you need install the Unirest for .Net client library first.

Just download this entire unirest-net library and reference in your project.

Creating POST Requests

Now you are probaly wondering how using Unirest to creat requests for the Text Summarization API in .Net. Let's start with the previous json rquest body example:

    "url": "http://en.wikipedia.org/wiki/Automatic_summarization",
    "text": "",
    "sentnum": 8

The request created with Unirest .Net library like this:

HttpResponse response = Unirest.post("https://textanalysis-text-summarization.p.mashape.com/text-summarizer")
    .header("X-Mashape-Authorization", "Your Mashape API Key")
    .header("Content-Type", "application/json")

Here the Mashape API Key you can find in your Mashape account dashboard, copy it and replace it, now it's time to enjoy our Text Summarization API for your .Net Projects.

About Unirest

Unirest is a set of lightweight HTTP libraries available in multiple languages, ideal for most applications:

  • Make GET, POST, PUT, PATCH, DELETE requests
  • Both syncronous and asynchronous (non-blocking) requests
  • It supports form parameters, file uploads and custom body entities
  • Supports gzip
  • Supports Basic Authentication natively
  • Customizable timeout
  • Customizable default headers for every request (DRY)
  • Automatic JSON parsing into a native object for JSON responses


For other languages support by Text Summarization API, you can find the document link below: