@datafire/byautomata
v3.0.0
Published
DataFire integration for Automata Market Intelligence API
Readme
@datafire/byautomata
Client library for Automata Market Intelligence API
Installation and Usage
npm install --save @datafire/byautomatalet byautomata = require('@datafire/byautomata').create({
api_key: ""
});
.then(data => {
console.log(data);
});Description
This document provides the documentation for the Market Intelligence API by Automata. Get your API Key at https://apis.byautomata.io and check out our Postman Collection.The root API endpoint is https://api.byautomata.io. Please refer to the code samples for examples of how to call the Market Intelligence API. The ContentPro endpoints (/contentpro-search and /contentpro-similar-text) are not included in the standard Market Intelligence API plans. Please contact [email protected] for access.
Actions
contentpro_search.get
Send search terms to receive the most relevant articles and companies.
byautomata.contentpro_search.get({
"terms": ""
}, context)Input
- input
object- terms required
string: We provide information about related companies and articles based on the search terms you provide. Separate search terms with commas. Ex. https://api.byautomata.io/contentpro-search?terms=cloud+computing,enterprise,security
- terms required
Output
- output
object- calls_per_month
string - count_remaining
string - data
array- items
object- article Article
- company ContentProCompany
- snippets ContentProSnippets
- items
- renewal_date
string
- calls_per_month
contentpro_similar_text.post
The /contentpro-similar-text endpoint accepts and arbitrary piece of text and returns similar articles and blogs written by companies.
byautomata.contentpro_similar_text.post({
"body": {
"text": ""
}
}, context)Input
- input
object- body required
object- text required
string: Any piece of text
- text required
- body required
Output
- output
object- calls_per_month
string - count_remaining
string - data
array- items
object- article Article
- company ContentProCompany
- snippets ContentProSnippets
- items
- renewal_date
string
- calls_per_month
search.get
Send search terms to receive the most relevant companies along with text snippets.
byautomata.search.get({
"terms": ""
}, context)Input
- input
object- terms required
string: We provide information about related companies based on the search terms you provide. Separate search terms with commas. Ex. https://api.byautomata.io/search?link=cloud+computing,enterprise,security - page
string: Page number of search results. Ex. https://api.byautomata.io/search?page=0&link=cloud+computing,enterprise,security
- terms required
Output
- output
object- calls_per_month
string - companies
array- items SimilarCompanySearch
- count_remaining
string - renewal_date
string
- calls_per_month
similar.get
Send a company website to receive a list of companies related to them.
byautomata.similar.get({
"link": ""
}, context)Input
- input
object- link required
string: We'll provide information about related companies based on the site you provide. If a LinkedIn page is sent, we will try to identify the company related to the page. Ex. https://api.byautomata.io/similar?link=ibm.com - page
string: Page number of search results. Ex. https://api.byautomata.io/similar?link=ibm.com&page=1
- link required
Output
- output
object- calls_per_month
string - companies
array- items SimilarCompany
- count_remaining
string - input_company InputCompany
- renewal_date
string
- calls_per_month
Definitions
Article
- Article
object- link
string - pubdate
string - title
string
- link
ContentProCompany
- ContentProCompany
object- companyName
string - description
string - employee
string - industry
string - linkedin
string - twitter
string - website
string
- companyName
ContentProSnippets
- ContentProSnippets
object- description
array- items
string
- items
- text
array- items
string
- items
- title
array- items
string
- items
- description
InputCompany
- InputCompany
object- companyName
string - country
string - employee
string - industry
string - linkedin
string - twitter
string - website
string
- companyName
SimilarCompany
- SimilarCompany
object- companyName
string - description
string - employee
string - industry
string - linkedin
string - title
string - twitter
string - website
string
- companyName
SimilarCompanySearch
- SimilarCompanySearch
object- companyName
string - description
string - employee
string - industry
string - linkedin
string - snippets
array- items Snippet
- title
string - twitter
string - website
string
- companyName
Snippet
- Snippet
object- description
array- items
string
- items
- text
array- items
string
- items
- title
array- items
string
- items
- description
