Runescape Account Creator is an implementation in JavaScript for Node.js that provides the ability to create accounts for the video game RuneScape®.
Install via npm:
npm install runescape-account-creator
The request is promise based therfore we call .then()
in order to access the response once it has been recieved.
const account = require('runescape-account-creator');
const two_captcha_api_key = 'YOUR_TWO_CAPTCHA_API_KEY';
account.create(two_captcha_api_key).then(response => {
console.log(response)
}).catch(function (error) {
return error;
});
The request returns the account data as JSON. The response
JSON element returns ACCOUNT_CREATED
, INVALID_CREDENTIALS
or BAD_CAPTCHA
depending on the response.
{
"email": "example@gmail.com",
"password": "password",
"proxy": "",
"response": "ACCOUNT_CREATED"
}
See examples.js for more examples.
two_captcha_api_key
Your 2Captcha API key.- Required: Yes
email
The email to use when creating the account. If none is provided, one will be generated.- Required: No
password
The password to use when creating the account. If none is provided, one will be generated.- Required: No
socks_ip
The socks5 proxy ip address to use when requesting the solved captcha and creating the account.- Required: No
socks_port
The socks5 proxy port to use when requesting the solved captcha and creating the account.- Required: No
socks_username
The socks5 proxy username to use when requesting the solved captcha and creating the account.- Required: No
socks_password
The socks5 proxy password to use when requesting the solved captcha and creating the account.- Required: No