Skip to content

Nodejs based Command Line tool to use the Open-Calais API

Notifications You must be signed in to change notification settings

Vikasg7/Open-Calais

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open-Calais

Nodejs based Command Line tool to use the Open-Calais API

Open-Calais is a tool to send text document to the Open Calais Server and to get tagged data.

A Note about Output

The CSV file output by the tool follows the same order as in Input.txt and Names may repeat depending upon if Name is recognized by different Tags.

Installation

1. `npm i Open-Calais`
  1. Your Open-Calais API Key or API Token

You have to register on Open Calais website to get an API for autorized access. When you get an API, you have to have to add it in the code in the first line of oc.js like this:-

var TOKEN = "YOUR API KEY"

Test command

`node oc -i ./Input.txt -o ./Output.csv`

Usage

This tool is a command line Tool. Here is the Usage :-

Usage: node oc [Options]

Options:
  -i, --In    File path to input text file.
              Use './' for current folder path                        [required]
  -o, --Out   File path to output csv file with .csv extension.
                                            [required] [default: "./output.csv"]
  -h, --help  Show help                                                [boolean]

Copyright 2015 Vikas Gautam

Donate

If this repository helps you anyhow, please don't mind coming back and Buy Me Coffee OR you can use Gratipay to show your appreciation and gratitude.

About

Nodejs based Command Line tool to use the Open-Calais API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published