platoai

0.2.2 • Public • Published

platoai-node

npm docs

Node implementation of the Plato AI API.

install

npm i -S platoai

usage

  1. You may wish to export the following variables in your shell environment:
  • PLATOAI_HOST to the hostname that the platoai API server is running on (default: api.platoai.com)
  • PLATOAI_PORT to the port that the platoai API server is listening on (default: 9000)
  1. Push a file represented by a readableStream and some metadata:
const platoai = require("platoai");
platoai.push(someReadableStream, someMetadataObject);

documentation

You can find the documentation here. You might also want to check out the protobuf files that define the data format used in the API at platoai/platoai-protos.

Readme

Keywords

Package Sidebar

Install

npm i platoai

Weekly Downloads

0

Version

0.2.2

License

MIT

Last publish

Collaborators

  • mwilliammyers