
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
@datafire/text2data
Advanced tools
DataFire integration for Text Analytics & Sentiment Analysis API | api.text2data.com
Client library for Text Analytics & Sentiment Analysis API | api.text2data.com
npm install --save @datafire/text2data
let text2data = require('@datafire/text2data').create({
PrivateKey: ""
});
.then(data => {
console.log(data);
});
The current api version is v3.4
The api methods listed below can be called directly from this page to test the output. You might set the api_key to pre-authenticate all requests on this page (this will work if your secret is blank).
Test api response without api key
text2data.Analyze_Get(null, context)
This action has no parameters
Sample request:
POST /Analyze
{
"DocumentText": "Excellent location, opposite a very large mall with wide variety of shops, restaurants and more.",
"PrivateKey": "your_api_key",
"Secret": ""
}
text2data.Analyze_Post({
"requestDoc": {
"DocumentText": "",
"PrivateKey": ""
}
}, context)
object
Test api response without api key
text2data.Categorize_Get(null, context)
This action has no parameters
Sample request:
POST /Categorize
{
"DocumentText": "Excellent location, opposite a very large mall with wide variety of shops, restaurants and more.",
"PrivateKey": "your_api_key",
"UserCategoryModelName": "your_model_name",
"Secret": ""
}
text2data.Categorize_Post({
"requestDoc": {
"DocumentText": "",
"PrivateKey": ""
}
}, context)
object
Test api response without api key
text2data.Extract_Get(null, context)
This action has no parameters
Sample request:
POST /Extract
{
"DocumentText": "Excellent location, opposite a very large mall with wide variety of shops, restaurants and more.",
"PrivateKey": "your_api_key",
"UserCategoryModelName": "your_model_name",
"Secret": ""
}
text2data.Extract_Post({
"requestDoc": {
"DocumentText": "",
"PrivateKey": ""
}
}, context)
object
object
string
string
array
string
string
boolean
object
string
number
object
string
string
boolean
string
string
string
integer
string
object
array
array
string
array
string
string
string
number
array
string
array
number
array
string
array
integer
string
array
array
integer
integer
integer
integer
string
array
object
string
string
string
string
number
string
string
object
number
integer
string
string
number
string
object
string
number
integer
string
string
string
string
number
string
object
string
string
object
string
string
string
boolean
boolean
boolean
string
string
string
FAQs
DataFire integration for Text Analytics & Sentiment Analysis API | api.text2data.com
The npm package @datafire/text2data receives a total of 1 weekly downloads. As such, @datafire/text2data popularity was classified as not popular.
We found that @datafire/text2data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.