0.2.2 • Published 9 years ago
platoai v0.2.2
platoai-node
Node implementation of the Plato AI API.
install
npm i -S platoaiusage
- You may wish to export the following variables in your shell environment:
PLATOAI_HOSTto the hostname that the platoai API server is running on (default:api.platoai.com)PLATOAI_PORTto the port that the platoai API server is listening on (default:9000)
- 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.