melodicious
v0.0.1
Published
AI music generate API
Downloads
2
Readme
License Agreement
What's this
More details
How to setup
npm install melodicious
For example
// import modular [npm install melodicious]
const APIClient = require('melodicious_npm');
// setting configs
baseURL = ''
username = ''
usertoken = ''
callEndpoint = ''
configs = {
"configs":{}
}
// create client
const client = new APIClient(baseURL,username,usertoken,callEndpoint,configs);
// run and connect
async function run() {
try {
const result = await client.playing();
console.log(result);
} catch (error) {
console.error(error);
}
}
run()