rs-account-creator

2.0.0 • Public • Published

Runescape Account Creator

npm GitHub

What is Runescape Account Creator?

Runescape Account Creator is an implementation in JavaScript for Node.js that provides the ability to create accounts for the video game RuneScape®.

Installation

Install via npm:

npm install runescape-account-creator

Usage

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.

Parameters

  • 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

Dependencies

Package Sidebar

Install

npm i rs-account-creator

Weekly Downloads

11

Version

2.0.0

License

MIT

Unpacked Size

20.6 kB

Total Files

19

Last publish

Collaborators

  • kylestev