Node.JS implementation of Thatbot(Roblox Funcaptcha Solver).
npm install thatbotnpm install thatbot --save
js
.createTask(apiKey, scope, timeout)
`
| apiKey | scope | timeout |
| ----------------------- | ------------------------ | ---------------- |
| Thatbot API access key. | Login, signup or action. | Request timeout. |
`js
.pollServer(apiKey, taskID, timeout)
`
| apiKey | taskID | timeout |
| ----------------------- | ------------------- | ---------------- |
| Thatbot API access key. | ID of task to poll. | Request timeout. |
All functions return a promise.
$3
`js
const tb = require('thatbot');
tb.createTask('api_key_here', 'login', 10000).then(result => {
console.log(result);
tb.pollServer('api_key_here', result.taskId).then(result => {
console.log(result);
}).catch(error => {
console.log(error)
})
}).catch(error => {
console.log(error)
})
``