meaning-cloud
NodeJS Client for interact with Meaning Cloud API.
Last updated 4 years ago by kikobeats .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install meaning-cloud 
SYNC missed versions from official npm registry.

meaning-cloud


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

Current Tags

  • 1.1.10                                ...           latest (4 years ago)

14 Versions

  • 1.1.10                                ...           4 years ago
  • 1.1.9                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           5 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |