2.4.1 • Published 2 months ago

wow-calendar.js v2.4.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

Available Functions

getActiveEvents (Promise)

const calendar = require("wow-calendar.js");

calendar.getActiveEvents([locale]).then(result => {
  //Result: Array Of All Active Events (Objects; Including Event Descriptions & Event Icon URLs)

  //Additionally
  //
  //If the description request in the desired locale results in too many redirects because of URL encoding
  //this function automatically falls back to english and also returns:
  //
  //descriptionFallback: true
  //
  //Updating your Node.js version might fix this "Too Many Redirects" issue. It did at least for me.
  //At the moment it seems to work with v18+.
})
ParameterTypeDescriptionPossible Values
localestringOptional (Default: en). The language you wish the results to be in.de, es, fr, it, pt, ru, ko, cn

getAllEvents (Promise)

const calendar = require("wow-calendar.js");

calendar.getAllEvents([locale]).then(result => {
  //Result: Array Of All Events (Objects)
})
ParameterTypeDescriptionPossible Values
localestringOptional (Default: en). The language you wish the results to be in.de, es, fr, it, pt, ru, ko, cn

getEvent (Promise)

const calendar = require("wow-calendar.js");

calendar.getEvent(id, [locale]).then(result => {
  //Result: Event Object (Including Event Descriptions & Event Icon URLs)
})
ParameterTypeDescriptionPossible Values
idintegerThe WoW event id.e.g. 181, 643, ...
localestringOptional (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!

2.4.1

2 months ago

2.4.0

3 months ago

2.3.0

3 months ago

2.2.1

3 months ago

2.2.0

3 months ago

2.2.2

3 months ago

2.1.1

3 months ago

2.1.0

3 months ago

2.0.1

3 months ago

2.0.0

3 months ago

1.2.0

3 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago