I bought this program because of multilogin. How can I connect my multi-login profile to this program? I can't find any manual for multilogin and where is the slot for multi-login profile input?
@UserTrue said in Node JS with google trends API:
@hippyzipp9
const mysql = require('mysql2');
// create the connection to database
const connection = mysql.createConnection({
host: 'localhost',
user: 'root',
database: 'db',
password: ''
});
await(new Promise((resolve, reject) => {
/*Place your code here and call resolve to proceed*/
connection.connect(function (err) {
if (err) {
reject('error: ' + err.message);
}
console.log('Connected to the MySQL server.');
resolve()
});
}));
Thanks, your solution worked.
@kyle17834 said in Using BAS Api with node:
Hello there I'm trying to run BAS api or BAS functions in node and no matter what I try I get an error
I love to get your help :D
Using the code bellow
await BAS_API("load('google.com')!");
or
await BAS_API("load(\"http://google.com\")!");
I get the this Error
F:\bablosoft\BrowserAutomationStudio\apps\22.7.1\embedded\f1064e45.948MdPTikzsT\distr\lib\custom\wl3hbvfvocs.js:46
await BAS_API("load(\"http://google.com\")!");
^^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:588:28)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at F:\bablosoft\BrowserAutomationStudio\apps\22.7.1\embedded\f1064e45.948MdPTikzsT\distr\lib\internal\custom.js:11:38
821.xml
@jimhill21 said in List of BAS functions or API for node.js:
Hello,
Where can I find a list of BAS functions or API calls for embedded node.js? I'm doing trial and error currently with the commands and parameters and it's not going well.
Thanks,
JIm
You can simply copy the required BAS action directly into node js
@NameIsRon said in Multilogin functions - How to ?:
It clearly is, I have the Multilogin module on my BAS.
The module remained after the integration attempt. Now it does not work and there is no support.