meaning-cloud

    1.1.10 • Public • Published

    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

    Install

    npm i meaning-cloud

    DownloadsWeekly Downloads

    1

    Version

    1.1.10

    License

    MIT

    Last publish

    Collaborators

    • kikobeats