Easily fetch info about the World of Warcraft realms.
npm install wow-realm-status
const {fetchRealm} = require('wow-realm-status');
fetchRealm('us', 'ragnaros')
.then(realm => console.log(realm));
//=> {
// name: 'Ragnaros',
// slug: 'ragnaros',
// locale: 'es-MX',
// timezone: 'CDT',
// online: true,
// type: 'normal',
// population: 'full'
//}
Returns a JSON object containing the realm data.
Type: string
Type: string
Type: boolean
Default: "retail"
Returns an array of JSON objects with the realms for that region.
Type: string
To specify the game version to fetch.
Type: string
Supported values: "retail"
, "classic"
, "bc"
Default: "retail"
Each realm is represented as a JSON object with the following properties:
Type: string
Type: string
Type: string
Locale of the realm, formatted as a IETF BCP 47
language tag.
Type: string
Type: boolean
Type: string
Possible values are: normal
, pvp
, rp
, rppvp
.
Type: string
Current population of the realm.
Possible values are: very-low
, low
, medium
, high
, full
Contributions are always welcome! Please run npm test
before hand to ensure everything is ok.
If you use this package please consider starring it :)
- wow-realm-status-cli - CLI version of this library.