@laravelPWA

Quick start

Save time and immediately improve your writing with Plaraphy API.


✍️ Rewriter



Documentation

API Access Key & Authentication

After signing up, every user is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Plaraphy API, simply attach your access_key to your preferred endpoint URL.

API Features

Object Description
access_key [Required] Your API Access Key.
text [Required] Your text content. Check the max caracters per plan
unique [Optional] Rewrite in a way that passes online plagiarism test. Options: true or false
lang [Optional] Language. Options: aa, ab, ae, af, ak ,am, an, ar, as, av, ay, az, ba, be, etc.
mode [Optional] Rewriting mode. The default mode is normal, however it is set to be discontinued soon. We recommend using standard, or fluent

Example API Request:

 curl 'https://app.plaraphy.com/api/rewriter' -X POST  -H 'Accept: application/json' -H 'Authorization: Bearer ' --data $'text=Hello+World&unique=true&lang=en&mode=fluent'

Example API Response:

{"original":"Hello World","rewrited":"Hallow World, Hello!","parameters":{"unique":true, "mode":fluent},"success":true}

Examples

PHP cURL

                    $curl = curl_init();

                    curl_setopt_array($curl, array(
                    CURLOPT_URL => "https://app.plaraphy.com/api/rewriter",
                    CURLOPT_RETURNTRANSFER => true,
                    CURLOPT_ENCODING => "",
                    CURLOPT_MAXREDIRS => 10,
                    CURLOPT_TIMEOUT => 30,
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                    CURLOPT_CUSTOMREQUEST => "POST",
                    CURLOPT_POSTFIELDS => "text=Save time and immediately improve your writing with Plaraphy API.&mode=fluent&lang=es&unique=true",
                    CURLOPT_HTTPHEADER => array(
                        "accept: application/json",
                        "authorization: Bearer ",
                        "cache-control: no-cache",
                        "content-type: application/x-www-form-urlencoded"
                    ),
                    ));

                    $response = curl_exec($curl);
                    $err = curl_error($curl);

                    curl_close($curl);

                    if ($err) {
                    echo "cURL Error #:" . $err;
                    } else {
                    echo $response;
                    }                

Python

                    import requests

                    url = 'https://app.plaraphy.com/api/rewriter'


                    payload = 'text=Save time and immediately improve your writing with Plaraphy API.&mode=fluent&lang=es&unique=true',
                    headers = {
                        'accept': 'application/json',
                        'content-type': 'application/x-www-form-urlencoded',
                        'authorization': 'Bearer ',
                        'cache-control': 'no-cache',
                        }

                    response = requests.request('POST', url, data=payload, headers=headers)

                    print(response.text)

JavaScript Jquery AJAX

var settings = {
                        "async": true,
                        "crossDomain": true,
                        "url": "https://app.plaraphy.com/api/rewriter",
                        "method": "POST",
                        "headers": {
                        "accept": "application/json",
                        "content-type": "application/x-www-form-urlencoded",
                        "authorization": "Bearer ",
                        "cache-control": "no-cache"
                        },
                        "data": {
                            "text=Save time and immediately improve your writing with Plaraphy API.&mode=fluent&lang=es&unique=true",
                        }
                    }

                    $.ajax(settings).done(function (response) {
                        console.log(response);
                    });

🌐 Plagiarism Checker



Documentation

API Access Key & Authentication

After signing up, every user is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Plaraphy API, simply attach your access_key to your preferred endpoint URL.

API Features

Object Description
access_key [Required] Your API Access Key.
url [Required] The url to check.

Example API Request:

 curl 'https://app.plaraphy.com/api/plagiarism' -X POST  -H 'Accept: application/json' -H 'Authorization: Bearer ' --data $'url=(url encoded)'

Example API Response:

{"plagiarism_rate":36.31234,"links_plagiarism_rate":urls finded", 36.31234","success":true}

Examples

PHP cURL

                    $curl = curl_init();

                    curl_setopt_array($curl, array(
                    CURLOPT_URL => "https://app.plaraphy.com/api/plagiarism",
                    CURLOPT_RETURNTRANSFER => true,
                    CURLOPT_ENCODING => "",
                    CURLOPT_MAXREDIRS => 10,
                    CURLOPT_TIMEOUT => 30,
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                    CURLOPT_CUSTOMREQUEST => "POST",
                    //url must be urlencoded 
                    CURLOPT_POSTFIELDS => "url=https%3A%2F%2Fwww.google.com",
                    CURLOPT_HTTPHEADER => array(
                        "accept: application/json",
                        "authorization: Bearer ",
                        "cache-control: no-cache",
                        "content-type: application/x-www-form-urlencoded"
                    ),
                    ));

                    $response = curl_exec($curl);
                    $err = curl_error($curl);

                    curl_close($curl);

                    if ($err) {
                    echo "cURL Error #:" . $err;
                    } else {
                    echo $response;
                    }                

Python

                    import requests

                    url = 'https://app.plaraphy.com/api/plagiarism'

                    //url must be urlencoded 
                    payload = 'url=https%3A%2F%2Fwww.google.com',
                    headers = {
                        'accept': 'application/json',
                        'content-type': 'application/x-www-form-urlencoded',
                        'authorization': 'Bearer ',
                        'cache-control': 'no-cache',
                        }

                    response = requests.request('POST', url, data=payload, headers=headers)

                    print(response.text)

JavaScript Jquery AJAX

var settings = {
                        "async": true,
                        "crossDomain": true,
                        "url": "https://app.plaraphy.com/api/plagiarism",
                        "method": "POST",
                        "headers": {
                        "accept": "application/json",
                        "content-type": "application/x-www-form-urlencoded",
                        "authorization": "Bearer ",
                        "cache-control": "no-cache"
                        },
                        "data": {
                            //url must be urlencoded 
                            "url": "https%3A%2F%2Fwww.google.com"",
                        }
                    }

                    $.ajax(settings).done(function (response) {
                        console.log(response);
                    });

📃 Summarizer






Documentation

API Access Key & Authentication

After signing up, every user is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Plaraphy API, simply attach your access_key to your preferred endpoint URL.

API Features

Object Description
access_key [Required] Your API Access Key.
output_percent [Required] Percent of the original text to be returned. Values range from 10% to 100%
text [Required]Text to summarize

Example API Request:

 curl 'https://app.plaraphy.com/api/summarizer' -X POST  -H 'Accept: application/json' -H 'Authorization: Bearer ' --data $'text=Save time and immediately improve your writing with Plaraphy API.&output_percent=(10 to 100)'

Example API Response:

{"summary":"Save time and immediately improve your writing with Plaraphy API.","percent":"10","success":true}
                

Examples

PHP cURL

                    $curl = curl_init();

                    curl_setopt_array($curl, array(
                    CURLOPT_URL => "https://app.plaraphy.com/api/summarizer",
                    CURLOPT_RETURNTRANSFER => true,
                    CURLOPT_ENCODING => "",
                    CURLOPT_MAXREDIRS => 10,
                    CURLOPT_TIMEOUT => 30,
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                    CURLOPT_CUSTOMREQUEST => "POST",
                    CURLOPT_POSTFIELDS => "text=Save time and immediately improve your writing with Plaraphy API.&output_percent=(10 to 100)",
                    CURLOPT_HTTPHEADER => array(
                        "accept: application/json",
                        "authorization: Bearer ",
                        "cache-control: no-cache",
                        "content-type: application/x-www-form-urlencoded"
                    ),
                    ));

                    $response = curl_exec($curl);
                    $err = curl_error($curl);

                    curl_close($curl);

                    if ($err) {
                    echo "cURL Error #:" . $err;
                    } else {
                    echo $response;
                    }                

Python

                    import requests

                    url = 'https://app.plaraphy.com/api/summarizer'


                    payload = 'text=Save time and immediately improve your writing with Plaraphy API.&output_percent=(10 to 100)',
                    headers = {
                        'accept': 'application/json',
                        'content-type': 'application/x-www-form-urlencoded',
                        'authorization': 'Bearer ',
                        'cache-control': 'no-cache',
                        }

                    response = requests.request('POST', url, data=payload, headers=headers)

                    print(response.text)

JavaScript Jquery AJAX

var settings = {
                        "async": true,
                        "crossDomain": true,
                        "url": "https://app.plaraphy.com/api/summarizer",
                        "method": "POST",
                        "headers": {
                        "accept": "application/json",
                        "content-type": "application/x-www-form-urlencoded",
                        "authorization": "Bearer ",
                        "cache-control": "no-cache"
                        },
                        "data": {
                            "text=Save time and immediately improve your writing with Plaraphy API.&output_percent=(10 to 100)",
                        }
                    }

                    $.ajax(settings).done(function (response) {
                        console.log(response);
                    });

😄 Sentiment analysis



Documentation

API Access Key & Authentication

After signing up, every user is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Plaraphy API, simply attach your access_key to your preferred endpoint URL.

API Features

Object Description
access_key [Required] Your API Access Key.
text [Required] Text to summarize. Check the max caracters per plan

Example API Request:

 curl 'https://app.plaraphy.com/api/sentiment' -X POST  -H 'Accept: application/json' -H 'Authorization: Bearer ' --data $'text=Save time and immediately improve your writing with Plaraphy API.'

Example API Response:

{"sentiments_detected":[{"neg":0,"neu":0.567,"pos":0.433,"compound":0.7269,"sentence":"Save time and immediately improve your writing with Plaraphy API."}],"sentiment":"positive","success":true}

Examples

PHP cURL

                    $curl = curl_init();

                    curl_setopt_array($curl, array(
                    CURLOPT_URL => "https://app.plaraphy.com/api/sentiment",
                    CURLOPT_RETURNTRANSFER => true,
                    CURLOPT_ENCODING => "",
                    CURLOPT_MAXREDIRS => 10,
                    CURLOPT_TIMEOUT => 30,
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                    CURLOPT_CUSTOMREQUEST => "POST",
                    CURLOPT_POSTFIELDS => "text=Save time and immediately improve your writing with Plaraphy API.",
                    CURLOPT_HTTPHEADER => array(
                        "accept: application/json",
                        "authorization: Bearer ",
                        "cache-control: no-cache",
                        "content-type: application/x-www-form-urlencoded"
                    ),
                    ));

                    $response = curl_exec($curl);
                    $err = curl_error($curl);

                    curl_close($curl);

                    if ($err) {
                    echo "cURL Error #:" . $err;
                    } else {
                    echo $response;
                    }                

Python

                    import requests

                    url = 'https://app.plaraphy.com/api/sentiment'


                    payload = 'text=Save time and immediately improve your writing with Plaraphy API.',
                    headers = {
                        'accept': 'application/json',
                        'content-type': 'application/x-www-form-urlencoded',
                        'authorization': 'Bearer ',
                        'cache-control': 'no-cache',
                        }

                    response = requests.request('POST', url, data=payload, headers=headers)

                    print(response.text)

JavaScript Jquery AJAX

var settings = {
                        "async": true,
                        "crossDomain": true,
                        "url": "https://app.plaraphy.com/api/sentiment",
                        "method": "POST",
                        "headers": {
                        "accept": "application/json",
                        "content-type": "application/x-www-form-urlencoded",
                        "authorization": "Bearer ",
                        "cache-control": "no-cache"
                        },
                        "data": {
                            "text=Save time and immediately improve your writing with Plaraphy API.",
                        }
                    }

                    $.ajax(settings).done(function (response) {
                        console.log(response);
                    });

📝 Article Extractor


Documentation

API Access Key & Authentication

After signing up, every user is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Plaraphy API, simply attach your access_key to your preferred endpoint URL.

API Features

Object Description
access_key [Required] Your API Access Key.
url [Required] The url to check.

Example API Request:

 curl 'https://app.plaraphy.com/api/article_extractor' -X POST  -H 'Accept: application/json' -H 'Authorization: Bearer ' --data $'url=(url encoded)'

Example API Response:

{"text":"Love podcasts or audiobooks? Learn on the go with our new app.","title":"Funciones sobre arreglos que debes conocer en Javascript","summary":"Love podcasts or audiobooks?\nLearn on the go with our new app.","keywords":"conocer, arreglos, funciones, app, podcasts, audiobooks, debes, javascript, en, sobre, love, que, learn","success":true}

Examples

PHP cURL

                    $curl = curl_init();

                    curl_setopt_array($curl, array(
                    CURLOPT_URL => "https://app.plaraphy.com/api/article_extractor",
                    CURLOPT_RETURNTRANSFER => true,
                    CURLOPT_ENCODING => "",
                    CURLOPT_MAXREDIRS => 10,
                    CURLOPT_TIMEOUT => 30,
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                    CURLOPT_CUSTOMREQUEST => "POST",
                    //url must be urlencoded 
                    CURLOPT_POSTFIELDS => "url=https%3A%2F%2Fwww.google.com",
                    CURLOPT_HTTPHEADER => array(
                        "accept: application/json",
                        "authorization: Bearer ",
                        "cache-control: no-cache",
                        "content-type: application/x-www-form-urlencoded"
                    ),
                    ));

                    $response = curl_exec($curl);
                    $err = curl_error($curl);

                    curl_close($curl);

                    if ($err) {
                    echo "cURL Error #:" . $err;
                    } else {
                    echo $response;
                    }                

Python

                    import requests

                    url = 'https://app.plaraphy.com/api/article_extractor'

                    //url must be urlencoded 
                    payload = 'url=https%3A%2F%2Fwww.google.com',
                    headers = {
                        'accept': 'application/json',
                        'content-type': 'application/x-www-form-urlencoded',
                        'authorization': 'Bearer ',
                        'cache-control': 'no-cache',
                        }

                    response = requests.request('POST', url, data=payload, headers=headers)

                    print(response.text)

JavaScript Jquery AJAX

var settings = {
                        "async": true,
                        "crossDomain": true,
                        "url": "https://app.plaraphy.com/api/article_extractor",
                        "method": "POST",
                        "headers": {
                        "accept": "application/json",
                        "content-type": "application/x-www-form-urlencoded",
                        "authorization": "Bearer ",
                        "cache-control": "no-cache"
                        },
                        "data": {
                            //url must be urlencoded 
                            "url=https%3A%2F%2Fwww.google.com",
                        }
                    }

                    $.ajax(settings).done(function (response) {
                        console.log(response);
                    });

Classifier


Documentation

API Access Key & Authentication

After signing up, every user is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Plaraphy API, simply attach your access_key to your preferred endpoint URL.

API Features

Object Description
access_key [Required] Your API Access Key.
text [Required] Text to summarize. Check the max caracters per plan

Example API Request:

 curl 'https://app.plaraphy.com/api/classifier' -X POST  -H 'Accept: application/json' -H 'Authorization: Bearer ' --data $'text=Save time and immediately improve your writing with Plaraphy API.'

Example API Response:

{"keywords":"save, time, immediately, improve, writing","categories":"Writing Pencils, Time & Attendance Clocks, Multifunction Writing Instruments, Writing & Drawing Instruments, Writing & Drawing Instrument Accessories","keywords_scores":"save, 1, save, 1, time, 1, save, 1, time, 1, immediately, 1, save, 1, time, 1, immediately, 1, improve, 1, save, 1, time, 1, immediately, 1, improve, 1, writing, 1","categories_scores":"Writing Pencils, 0.050875486666667, Writing Pencils, 0.050875486666667, Time & Attendance Clocks, 0.043321498, Writing Pencils, 0.050875486666667, Time & Attendance Clocks, 0.043321498, Multifunction Writing Instruments, 0.043150657333333, Writing Pencils, 0.050875486666667, Time & Attendance Clocks, 0.043321498, Multifunction Writing Instruments, 0.043150657333333, Writing & Drawing Instruments, 0.037462433333333, Writing Pencils, 0.050875486666667, Time & Attendance Clocks, 0.043321498, Multifunction Writing Instruments, 0.043150657333333, Writing & Drawing Instruments, 0.037462433333333, Writing & Drawing Instrument Accessories, 0.033099222","success":true}

Examples

PHP cURL

                    $curl = curl_init();

                    curl_setopt_array($curl, array(
                    CURLOPT_URL => "https://app.plaraphy.com/api/classifier",
                    CURLOPT_RETURNTRANSFER => true,
                    CURLOPT_ENCODING => "",
                    CURLOPT_MAXREDIRS => 10,
                    CURLOPT_TIMEOUT => 30,
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                    CURLOPT_CUSTOMREQUEST => "POST",
                    CURLOPT_POSTFIELDS => "text=Save time and immediately improve your writing with Plaraphy API.",
                    CURLOPT_HTTPHEADER => array(
                        "accept: application/json",
                        "authorization: Bearer ",
                        "cache-control: no-cache",
                        "content-type: application/x-www-form-urlencoded"
                    ),
                    ));

                    $response = curl_exec($curl);
                    $err = curl_error($curl);

                    curl_close($curl);

                    if ($err) {
                    echo "cURL Error #:" . $err;
                    } else {
                    echo $response;
                    }                

Python

                    import requests

                    url = 'https://app.plaraphy.com/api/classifier'


                    payload = 'text=Save time and immediately improve your writing with Plaraphy API.',
                    headers = {
                        'accept': 'application/json',
                        'content-type': 'application/x-www-form-urlencoded',
                        'authorization': 'Bearer ',
                        'cache-control': 'no-cache',
                        }

                    response = requests.request('POST', url, data=payload, headers=headers)

                    print(response.text)

JavaScript Jquery AJAX

var settings = {
                        "async": true,
                        "crossDomain": true,
                        "url": "https://app.plaraphy.com/api/classifier",
                        "method": "POST",
                        "headers": {
                        "accept": "application/json",
                        "content-type": "application/x-www-form-urlencoded",
                        "authorization": "Bearer ",
                        "cache-control": "no-cache"
                        },
                        "data": {
                            "text=Save time and immediately improve your writing with Plaraphy API.",
                        }
                    }

                    $.ajax(settings).done(function (response) {
                        console.log(response);
                    });
Copyright © 2022 Plaraphy . All rights reserved. Hand-crafted & made with in London