today-in-wow.js
v1.0.0
Published
An npm package that fetches the World of Warcraft ingame events from https://wowhead.com/today-in-wow using Axios & Cheerio.
Downloads
7
Maintainers
Readme
Available Functions
getDungeonsAndRaids (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getDungeonsAndRaids([locale]).then(result => {
//Result: Array Of All Dungeons And Raids Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getEventsAndRares (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getEventsAndRares([locale]).then(result => {
//Result: Array Of All Events And Rares Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getQuests (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getQuests([locale]).then(result => {
//Result: Array Of All Quests Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getEconomy (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getEconomy([locale]).then(result => {
//Result: Array Of All Economy Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getDragonflight (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getDragonflight([locale]).then(result => {
//Result: Array Of All Dragonflight Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getShadowlands (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getShadowlands([locale]).then(result => {
//Result: Array Of All Shadowlands Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getBFA (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getBFA([locale]).then(result => {
//Result: Array Of All BFA Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getLegion (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getLegion([locale]).then(result => {
//Result: Array Of All Legion Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
getWOD (Promise)
const todayInWow = require("today-in-wow.js");
calendar.getWOD([locale]).then(result => {
//Result: Array Of All WOD Info
})
| Parameter | Type | Description | Possible Values |
| :--- | :--- | :--- | :--- |
| locale
| string
| Optional (Default: en
). The language you wish the results to be in.| de
, es
, fr
, it
, pt
, ru
, ko
, cn
Help Wanted!
Feel free to submit pull requests that improve the README, functions, documentation and overall code quality!