API text summarizer

FR

 
Regardless of your texts’ format, whether they are simple or in HTML, by using our Web service, you will be able to go the main idea in your texts in 1-Click. Within your applications or your desktop tools, you can get :

  • Well-structured argumentative text summaries
  • Text summaries for web page
  • Text analyses for skim through

 

You can easily integrate our API in all of your programs, systems, or software packages so that you can benefit from a productivity feature to process your texts.

 

Introduction

 

The relevant web service operates in PHP. The data that you submit to us have to be named in POST, and we will send you back the formatted responses in JSON.

 

APY KEY

https://resoomer.pro/auth/

When creating your account, you will get a « USERNAME » as well as an « API KEY » to connect to the webservice.

 

Automatic text summary

Webservice : https://resoomer.pro/summarizer/

Settings Description
API_KEY Your API_KEY
text Your text (in english or french)

PHP example

$MyText = 'My text plain...';
$webService = 'https://resoomer.pro/summarizer/';
$datasPost = 'API_KEY=MY_API_KEY&text='.$MyText;
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $webService);
curl_setopt($ch,CURLOPT_POST, 2);
curl_setopt($ch,CURLOPT_POSTFIELDS, $datasPost);
$result = curl_exec($ch);
curl_close($ch);
echo $result;

JSON response

{
"ok":1,
"message":"ok",
"longText":{
"size":45,
"content":"Your text summarize to 45%..."
},
"mediumText":{
"size":25,
"content":"Your text summarize to 25%..."
},
"smallText":{
"size":15,
"content":"Your text summarize to 15%..."
},
"codeResponse":200
}

According to your text, we generate 3 summaries: a long, a medium, and a short.

 

Automatic text summary for article online

Webservice : https://resoomer.pro/websummarizer/

Settings Description
API_KEY Your API_KEY
url The url of the article

PHP example


$url = 'http://www.my-website.com/article-123.php';
$webService = 'https://resoomer.pro/websummarizer/';
$datasPost = 'API_KEY=MY_API_KEY&url='.$url;
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $webService);
curl_setopt($ch,CURLOPT_POST, 2);
curl_setopt($ch,CURLOPT_POSTFIELDS, $datasPost);
$result = curl_exec($ch);
curl_close($ch);
echo $result;

JSON response

{
"ok":1,
"message":"Resoomer ok",
"longText":{
"size":45,
"content":"Votre texte résumé à 45%..."
},
"mediumText":{
"size":25,
"content":"Votre texte résumé à 25%..."
},
"smallText":{
"size":15,
"content":"Votre texte résumé à 15%..."
},
"codeResponse":200
}

 

Text analyze

Webservice : https://resoomer.pro/analyzer/

Settings Description
API_KEY Your API_KEY
text Your text (in english or french)

PHP example


$MyText = 'My text plain...';
$webService = 'https://resoomer.pro/analyzer/';
$datasPost = 'API_KEY=MY_API_KEY&text='.$MyText;
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $webService);
curl_setopt($ch,CURLOPT_POST, 2);
curl_setopt($ch,CURLOPT_POSTFIELDS, $datasPost);
$result = curl_exec($ch);
curl_close($ch);
echo $result;

JSON response

{
"ok":1,
"message":"Resoomer ok",
"textAnalyzed":"My text analyzed...",
"codeResponse":200
}

 

Responses codes

Here is the list of the response codes below after the processing of your text..

Code Description
200 Resoomer OK
1 username and/or incorrect Token(s)
2 Please verify your typeText settings and the associated fields.
3 Invalid TOKEN !
4 Daily quota reached
5 Error URL
6 Text contains too many words
7 Failed to summarize text (Learn more)
8 Text already seems summarized enough