1.1.10 • Published 8 years ago

meaning-cloud v1.1.10

Weekly downloads
13
License
MIT
Repository
github
Last release
8 years ago

meaning-cloud

Last version Dependency status Dev Dependencies Status NPM Status Donate

NodeJS Client for interact with Meaning Cloud API.

Install

npm install meaning-cloud --save

If you want to use in the browser (powered by Browserify):

bower install meaning-cloud --save

and later link in your HTML:

<script src="bower_components/meaning-cloud/dist/meaning-cloud.js"></script>

Usage

First require the library:

var MeaningCloud = require('meaning-cloud');

Minimal configuration:

var meaning = MeaningCloud({
  key: process.env.API_KEY // API Key. Required.
  secure: true             // HTTPS or HTTPS. Optional, true by default.
  uri: 'custom-uri'        // URI to create the API endpoints. Optional.
});

A list of default endpoints and API versions is provided. If you need a particular version or endpoint, specify it in the constructor using the endpoint keywords, for example:

var meaning = MeaningCloud({
  key: process.env.API_KEY
  endpoints: {
    topics_extraction: '/topics-1.1'
  }
});

The library support standard NodeJS callback and Promise workflow as well.

Examples

See example.js

License

MIT © Kiko Beats

1.1.10

8 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago