1.1.6 • Published 1 year ago

@codernocook/youchatwrapper v1.1.6

Weekly downloads
-
License
GNU
Repository
github
Last release
1 year ago

youchatwrapper

IMPORTANT: This npm package is unoffical. I found this api in You-Python github.

You-Python Github: https://github.com/You-OpenSource/You-Python

It may have bug, please report.

How to use?

Simple code:

const youchatwrapper = require("@codernocook/youchatwrapper");

youchatwrapper.apiKey = "Get Api Key here: https://betterapi.net/about/" // You don't really need it, you can get it if you like

youchatwrapper.chat("Who are you?", function(callback) {
    console.log(callback); // replace this with your code
})

Settings:

{
    apiKey: String, // the ai api key (don't really need)
    customUrl: String, // you can put a website a clone to youdotcom web api
    cloudflare_message_bypass: Boolean, // this setting allow to bypass the message (not 100% working, it's just resend the request)
    cloudflare_retry_limit: Number, // the limit request call when cloudflare message appear
    retry: Boolean, // resend the request if it caught error
    retry_limit: Number // the limit request call when a error happen
}

To change the setting:

const youchatwrapper = require("@codernocook/youchatwrapper");

youchatwrapper["setting"] = value; //  change the ["setting"] to the Setting you want

NOTE: I'm a new javascript developer. My code write really bad.

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago