Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

repl-ai

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repl-ai

To have api connection with repl-ai

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install repl-ai

Usage

const ReplAi = require('repl-ai');
const options ={
	  x_api_key: YOUR_X_API_KEY
	, botId: YOUR_BOT_ID
};
const api = new ReplAi(options);

// If you want to register a new user.
api.register((error, body) => {
	console.log(body);
});

// If you want to create dialogue. 
const dialogue_options = {
	  appUserId: YOUR_APP_USER_ID
	, voiceText: YOUR_VOICE_TEXT
	, appRecvTime: LAST_TALKED_AT
};
api.createDialogue(());

More Information

https://repl-ai.jp/docs/references/registration https://repl-ai.jp/docs/references/dialogue

Caution

This module is not official.

Keywords

FAQs

Package last updated on 02 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc