ParallelDots AI API OpenAPI
{
"swagger": "2.0",
"info": {
"version": "1.0",
"title": "ParallelDots AI APIs Docs",
"description": "TODO: Add Description"
},
"host": "apis.paralleldots.com",
"basePath": "/v3",
"schemes": [
"http"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/sentiment": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nSentiment API accepts input text, language code and API key to return a JSON response classifying the input text into a sentiment.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.Languages supported are German (de), French (fr), Dutch (nl), Italian (it), Spanish (es), Chinese (zh), Portuguese (pt), Japanese (ja), Indonesian (id), Thai (th), Danish (da), Finish (fi)\n\nResponse will be in JSON sorted by confidence score as shown below:\n\n```\n{\n \"probabilities\": {\n \"positive\": 0.241,\n \"neutral\": 0.304,\n \"negative\": 0.454\n },\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"sentiment\": \"negative\"\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Sentiment",
"tags": [
"Misc"
],
"operationId": "SentimentPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "lang_code",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/sentiment",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Senator Dianne Feinstein suffered a setback in her effort to win a sixth term representing California as the state Democratic Party declined this weekend to endorse her re-election bid.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ&lang_code=en"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Sentiment",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nSentiment API accepts input text, language code and API key to return a JSON response classifying the input text into a sentiment.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.Languages supported are German (de), French (fr), Dutch (nl), Italian (it), Spanish (es), Chinese (zh), Portuguese (pt), Japanese (ja), Indonesian (id), Thai (th), Danish (da), Finish (fi)\n\nResponse will be in JSON sorted by confidence score as shown below:\n\n```\n{\n \"probabilities\": {\n \"positive\": 0.241,\n \"neutral\": 0.304,\n \"negative\": 0.454\n },\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"sentiment\": \"negative\"\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/emotion": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nSometimes the three classes of sentiment (positive, negative and neutral) are not sufficient to understand the nuances regarding the underlying tone of a sentence. Our Emotion Analysis classifier is trained on our proprietary dataset and tells whether the underlying emotion behind a message is: Happy, Sad, Angry, Fearful, Excited, Funny or Indifferent.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.Languages supported are German (de), French (fr), Dutch (nl), Italian (it), Spanish (es), Chinese (zh), Portuguese (pt), Japanese (ja), Indonesian (id), Thai (th), Danish (da), Finish (fi)\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"emotion\": {\n \"probabilities\": {\n \"angry\": 0.376,\n \"indifferent\": 0.189,\n \"sad\": 0.381,\n \"excited\": 0.014,\n \"happy\": 0.04\n },\n \"emotion\": \"sad\"\n },\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Emotion",
"tags": [
"Misc"
],
"operationId": "EmotionPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "lang_code",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/emotion",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=The news from the White House is that more than 18 months since the F.B.I. proble began, there is still no evidence of Russian collusion.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ&lang_code=en"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Emotion",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nSometimes the three classes of sentiment (positive, negative and neutral) are not sufficient to understand the nuances regarding the underlying tone of a sentence. Our Emotion Analysis classifier is trained on our proprietary dataset and tells whether the underlying emotion behind a message is: Happy, Sad, Angry, Fearful, Excited, Funny or Indifferent.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.Languages supported are German (de), French (fr), Dutch (nl), Italian (it), Spanish (es), Chinese (zh), Portuguese (pt), Japanese (ja), Indonesian (id), Thai (th), Danish (da), Finish (fi)\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"emotion\": {\n \"probabilities\": {\n \"angry\": 0.376,\n \"indifferent\": 0.189,\n \"sad\": 0.381,\n \"excited\": 0.014,\n \"happy\": 0.04\n },\n \"emotion\": \"sad\"\n },\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/similarity": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nSemantic Analysis API helps users cluster similar articles by understanding the relatedness between different content and streamlines research by eliminating redundant text contents.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"actual_score\": 0.842932,\n \"normalized_score\": 4.931469\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Semantic Similarity",
"tags": [
"Misc"
],
"operationId": "SimilarityPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text1",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "text2",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/similarity",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text1=Michael is the greatest swimmer. &api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ&text2=Phelps is the most decorated swimmer."
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Semantic Similarity",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nSemantic Analysis API helps users cluster similar articles by understanding the relatedness between different content and streamlines research by eliminating redundant text contents.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"actual_score\": 0.842932,\n \"normalized_score\": 4.931469\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/ner": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nNamed-entity recognition(NER) can identify individuals, companies, places, organization, cities and other various type of entities. API can extract this information from any type of text, web page or social media network.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"entities\": [\n {\n \"category\": \"name\",\n \"name\": \"Donald Trump\",\n \"confidence_score\": 0.977811\n },\n {\n \"category\": \"place\",\n \"name\": \"United States\",\n \"confidence_score\": 0.982107\n }\n ]\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Name Entity Recognition",
"tags": [
"Misc"
],
"operationId": "NerPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/ner",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Donald Trump is the President of the United States of America.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Name Entity Recognition",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nNamed-entity recognition(NER) can identify individuals, companies, places, organization, cities and other various type of entities. API can extract this information from any type of text, web page or social media network.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"entities\": [\n {\n \"category\": \"name\",\n \"name\": \"Donald Trump\",\n \"confidence_score\": 0.977811\n },\n {\n \"category\": \"place\",\n \"name\": \"United States\",\n \"confidence_score\": 0.982107\n }\n ]\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/keywords": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nKeyword Generator are powerful tools in text analysis that can be used to index data, generate tag clouds and accelerate the searching time. It generates an extensive list of relevant keywords and phrases to make research more context focussed.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"keywords\": [\n {\n \"keyword\": \"Cristiano Ronaldo\",\n \"confidence_score\": 0.887065\n },\n {\n \"keyword\": \"Principality Stadium\",\n \"confidence_score\": 0.903289\n },\n {\n \"keyword\": \"Cardiff last\",\n \"confidence_score\": 0.806802\n },\n {\n \"keyword\": \"couple\",\n \"confidence_score\": 0.69036\n },\n {\n \"keyword\": \"hours\",\n \"confidence_score\": 0.984956\n },\n {\n \"keyword\": \"Real Madrid win\",\n \"confidence_score\": 0.812151\n }\n ],\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Keywords",
"tags": [
"Misc"
],
"operationId": "KeywordsPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/keywords",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Cristiano Ronaldo left the Principality Stadium in Cardiff last June, a couple of hours after helping Real Madrid win its third champions League trophy in four years.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Keywords",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nKeyword Generator are powerful tools in text analysis that can be used to index data, generate tag clouds and accelerate the searching time. It generates an extensive list of relevant keywords and phrases to make research more context focussed.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"keywords\": [\n {\n \"keyword\": \"Cristiano Ronaldo\",\n \"confidence_score\": 0.887065\n },\n {\n \"keyword\": \"Principality Stadium\",\n \"confidence_score\": 0.903289\n },\n {\n \"keyword\": \"Cardiff last\",\n \"confidence_score\": 0.806802\n },\n {\n \"keyword\": \"couple\",\n \"confidence_score\": 0.69036\n },\n {\n \"keyword\": \"hours\",\n \"confidence_score\": 0.984956\n },\n {\n \"keyword\": \"Real Madrid win\",\n \"confidence_score\": 0.812151\n }\n ],\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/taxonomy": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nText Classification can be useful in understanding customer behaviour by categorizing conversations on social networks, feedback and other web sources.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"taxonomy\": [\n {\n \"tag\": \"News and Politics\",\n \"confidence_score\": 0.576461\n },\n {\n \"tag\": \"Religion & Spirituality\",\n \"confidence_score\": 0.473842\n },\n {\n \"tag\": \"Hobbies & Interests\",\n \"confidence_score\": 0.318032\n }\n ]\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Taxonomy",
"tags": [
"Misc"
],
"operationId": "TaxonomyPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/taxonomy",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Senator Dianne Feinstein suffered a setback in her effort to win a sixth term representing California as the state Democratic Party declined this weekend to endorse her re-election bid.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Taxonomy",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nText Classification can be useful in understanding customer behaviour by categorizing conversations on social networks, feedback and other web sources.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"taxonomy\": [\n {\n \"tag\": \"News and Politics\",\n \"confidence_score\": 0.576461\n },\n {\n \"tag\": \"Religion & Spirituality\",\n \"confidence_score\": 0.473842\n },\n {\n \"tag\": \"Hobbies & Interests\",\n \"confidence_score\": 0.318032\n }\n ]\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/intent": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nThis classifier tells whether the underlying intention behind a sentence is opinion, news, marketing, complaint, suggestion, apprectiation, query. This is trained on our proprietary dataset.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"probabilities\": {\n \"marketing\": 0.038,\n \"news\": 0.916,\n \"query\": 0.008,\n \"feedback/opinion\": 0.017,\n \"spam/junk\": 0.02\n },\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"intent\": \"news\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Intent",
"tags": [
"Misc"
],
"operationId": "IntentPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/intent",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Cristiano Ronaldo left the Principality Stadium in Cardiff last June, a couple of hours after helping Real Madrid win its third champions League trophy in four years.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Intent",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nThis classifier tells whether the underlying intention behind a sentence is opinion, news, marketing, complaint, suggestion, apprectiation, query. This is trained on our proprietary dataset.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"probabilities\": {\n \"marketing\": 0.038,\n \"news\": 0.916,\n \"query\": 0.008,\n \"feedback/opinion\": 0.017,\n \"spam/junk\": 0.02\n },\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"intent\": \"news\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/abuse": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nAbusive content specifier specifies whether the content is abusive or not.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"sentence_type\": \"Abusive\",\n \"confidence_score\": 0.953125\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Abuse",
"tags": [
"Misc"
],
"operationId": "AbusePost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/abuse",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=you f**king a$$hole&api_key=d5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Abuse",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nAbusive content specifier specifies whether the content is abusive or not.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"sentence_type\": \"Abusive\",\n \"confidence_score\": 0.953125\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/text_parser": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nUnderstand the text entered by using our API.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"output\": [\n {\n \"text\": \"Donald\",\n \"Dependency\": \"compound\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"Trump\",\n \"Dependency\": \"nominal subject\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"is\",\n \"Dependency\": \"root\",\n \"Tags\": \"verb\"\n },\n {\n \"text\": \"the\",\n \"Dependency\": \"determiner\",\n \"Tags\": \"determiner\"\n },\n {\n \"text\": \"President\",\n \"Dependency\": \"attribute\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"of\",\n \"Dependency\": \"prepositional modifier\",\n \"Tags\": \"preposition or conjunction\"\n },\n {\n \"text\": \"the\",\n \"Dependency\": \"determiner\",\n \"Tags\": \"determiner\"\n },\n {\n \"text\": \"United\",\n \"Dependency\": \"compound\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"States\",\n \"Dependency\": \"object of a preposition\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"of\",\n \"Dependency\": \"prepositional modifier\",\n \"Tags\": \"preposition or conjunction\"\n },\n {\n \"text\": \"America\",\n \"Dependency\": \"object of a preposition\",\n \"Tags\": \"noun\"\n }\n ]\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Text Parser",
"tags": [
"Misc"
],
"operationId": "TextParserPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/text_parser",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Donald Trump is the President of the United States of America.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Text Parser",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nUnderstand the text entered by using our API.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"output\": [\n {\n \"text\": \"Donald\",\n \"Dependency\": \"compound\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"Trump\",\n \"Dependency\": \"nominal subject\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"is\",\n \"Dependency\": \"root\",\n \"Tags\": \"verb\"\n },\n {\n \"text\": \"the\",\n \"Dependency\": \"determiner\",\n \"Tags\": \"determiner\"\n },\n {\n \"text\": \"President\",\n \"Dependency\": \"attribute\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"of\",\n \"Dependency\": \"prepositional modifier\",\n \"Tags\": \"preposition or conjunction\"\n },\n {\n \"text\": \"the\",\n \"Dependency\": \"determiner\",\n \"Tags\": \"determiner\"\n },\n {\n \"text\": \"United\",\n \"Dependency\": \"compound\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"States\",\n \"Dependency\": \"object of a preposition\",\n \"Tags\": \"noun\"\n },\n {\n \"text\": \"of\",\n \"Dependency\": \"prepositional modifier\",\n \"Tags\": \"preposition or conjunction\"\n },\n {\n \"text\": \"America\",\n \"Dependency\": \"object of a preposition\",\n \"Tags\": \"noun\"\n }\n ]\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/custom_classifier": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nCustom Classifier API accepts input text, categories with a list of sub-categories and API key to return a JSON response classifying the input text into categories provided.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data. Providing sub-categories is optional, send an empty array ('[]') in case you do want to add any sub-categories to your category.\n\nResponse will be in JSON sorted by confidence score as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"taxonomy\": [\n {\n \"tag\": \"world politics\",\n \"confidence_score\": 0.622804\n },\n {\n \"tag\": \"finance\",\n \"confidence_score\": 0.325811\n }\n ]\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Custom Classifier",
"tags": [
"Misc"
],
"operationId": "CustomClassifierPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "category",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/custom_classifier",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Donald Trump is the President of the United States of America.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ&category={\"finance\":[\"markets\",\"economy\",\"shares\"],\"world politics\":[\"diplomacy\",\"UN\",\"war\"]}"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Custom Classifier",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nCustom Classifier API accepts input text, categories with a list of sub-categories and API key to return a JSON response classifying the input text into categories provided.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data. Providing sub-categories is optional, send an empty array ('[]') in case you do want to add any sub-categories to your category.\n\nResponse will be in JSON sorted by confidence score as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"taxonomy\": [\n {\n \"tag\": \"world politics\",\n \"confidence_score\": 0.622804\n },\n {\n \"tag\": \"finance\",\n \"confidence_score\": 0.325811\n }\n ]\n}\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/popularity": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nGet the virality score of your picture on socail media. \n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"Popular\": \"59.8144471645\",\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"Not Popular\": \"40.1855528355\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Virality Detection",
"tags": [
"Misc"
],
"operationId": "PopularityPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "file",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/popularity",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "api_key=d5WEts1PKbDaTDWJdTM2JxusAEkRQ&file="
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Virality Detection",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nGet the virality score of your picture on socail media. \n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"Popular\": \"59.8144471645\",\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"Not Popular\": \"40.1855528355\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/nsfw": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nNudity detection classifier is a powerful tool to filter out pornographic and non-pornographic images from social media feeds, forums, messaging apps, etc.. ParallelDots nudity detection classifier can filter such content and help build a safer platform for your community.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"output\": \"safe to open at work\",\n \"prob\": 0.911244809627533\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "NSFW",
"tags": [
"Misc"
],
"operationId": "NsfwPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "file",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/nsfw",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "api_key=d5WEts1PKbDaTDWJdTM2JxusAEkRQ&file="
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "NSFW",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nNudity detection classifier is a powerful tool to filter out pornographic and non-pornographic images from social media feeds, forums, messaging apps, etc.. ParallelDots nudity detection classifier can filter such content and help build a safer platform for your community.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\",\n \"output\": \"safe to open at work\",\n \"prob\": 0.911244809627533\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/phrase_extractor": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nGet phrase keywords from the text in the input.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"keywords\": [\n {\n \"relevance_score\": 1,\n \"keyword\": \"Ronaldo\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Principality Stadium\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"Cardiff\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"last\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"June\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Real Madrid\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"its\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"third champions\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"League trophy\"\n }\n ],\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Phrase Extractor",
"tags": [
"Misc"
],
"operationId": "PhraseExtractorPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/phrase_extractor",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Cristiano Ronaldo left the Principality Stadium in Cardiff last June, a couple of hours after helping Real Madrid win its third champions League trophy in four years.&api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Phrase Extractor",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nGet phrase keywords from the text in the input.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.\n\nResponse will be in JSON as shown below:\n\n```\n{\n \"keywords\": [\n {\n \"relevance_score\": 1,\n \"keyword\": \"Ronaldo\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Principality Stadium\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"Cardiff\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"last\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"June\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Real Madrid\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"its\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"third champions\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"League trophy\"\n }\n ],\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/multilang_keywords": {
"post": {
"description": "# Introduction\nWhat does your API do?\n\nExtract Keywords from different languages using this API.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.The API works best when input long and multiple sentences.Languages supported are German(de), French(fr), Dutch(nl), Italian(it), Spanish(es), Portuguese(pt), Danish(da), Finish(fi)\nResponse will be in JSON as shown below:\n\n```\n{\n \"keywords\": [\n {\n \"relevance_score\": 4,\n \"keyword\": \"Prime Minister Narendra Modi\"\n },\n {\n \"relevance_score\": 6,\n \"keyword\": \"Human Resource Development Minister Smriti Irani\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Lok Sabha\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"ongoing\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"JNU row\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Dalit scholar\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Rohith Vemula\"\n },\n {\n \"relevance_score\": 3,\n \"keyword\": \"Hyderabad Central University\"\n }\n ],\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx.",
"summary": "Multilang_Keywords",
"tags": [
"Misc"
],
"operationId": "MultilangKeywordsPost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "text",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "api_key",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "lang_code",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/multilang_keywords",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "text=Monsieur, deux pamplemousses s’il vous plaît! &api_key=DEPKd5WEts1PKbDaTDWJdTM2JxusAEkRQ&lang_code=fr"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Multilang_Keywords",
"x-testDescription": "# Introduction\nWhat does your API do?\n\nExtract Keywords from different languages using this API.\n\n# Overview\nThings that the developers should know about\n\nThe API accepts the input parameters as form-data.The API works best when input long and multiple sentences.Languages supported are German(de), French(fr), Dutch(nl), Italian(it), Spanish(es), Portuguese(pt), Danish(da), Finish(fi)\nResponse will be in JSON as shown below:\n\n```\n{\n \"keywords\": [\n {\n \"relevance_score\": 4,\n \"keyword\": \"Prime Minister Narendra Modi\"\n },\n {\n \"relevance_score\": 6,\n \"keyword\": \"Human Resource Development Minister Smriti Irani\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Lok Sabha\"\n },\n {\n \"relevance_score\": 1,\n \"keyword\": \"ongoing\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"JNU row\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Dalit scholar\"\n },\n {\n \"relevance_score\": 2,\n \"keyword\": \"Rohith Vemula\"\n },\n {\n \"relevance_score\": 3,\n \"keyword\": \"Hyderabad Central University\"\n }\n ],\n \"usage\": \"By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions\"\n}\n\n```\n\n# Authentication\nWhat is the preferred way of using the API?\n\nAn API key is required to be sent as a parameter to authenticate your requests.\n\n\n# Rate limit\nIs there a limit to the number of requests an user can send?\n\nThere is no rate limit as such but too many concurrent requests will throw 504 time-out error from nginx."
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
}
}
}