See latest releases for raw downloads. You can also specify specific versions via npm npm install vainglory@v0.0.0
.
Changelog is organized as so: VERSION NUMBER - OPTIONAL TITLE - RELEASE DATE
- Add mapping to new items (#30 via @PierreAndreis)
- Add
serverName
parsing for 5v5 (#29 via @PierreAndreis)
- Add support for Onslaught matches (#27 va @PierreAndreis)
- Fixed
.actor
returning an error, introduced in v1.3.4. Sorry about that - Add item mappings for Spellsword, Spellfire, Healing Flask
- Added support for
.skillTier
and.karmaLevel
for Player (via #25 @PierreAndreis) - Added support for all new actors going forward (via #26 @PierreAndreis)
- Added CHANGELOG
- Add Churnwalker as a resource
- Support for createdAt inside Player object (via @PierreAndreis #22)
- Changed default createdAt-start from 3 hours to 28 days to stay in-line with VG API Specs
- Merging entire response with errors object versus res.status
- Added Reza as resource
- Adds Grace as resource
- Battle Royal --> Battle Royale (ef542b8d7c6a7687599f3288a78e917ca402c1c8)
- Updated to minor version as I broke the versioning scheme
- Moving client out of beta as it's fairly stable at this point 🥇
- Add Baptiste as model resource
- Added
._gameMode
on Match for raw data .gameMode
now returns a named game mode- Participant skill tiers now returns a named skill tier
- Participant karma level now returns a named karma level
- Added .resolve() to telemetry asset
- Added support for
asset
model for telemetry data (sub model ofmatch
) Docs
- Added support for "new" names
"Taka": "*Taka*",
"Krul": "*Krul*",
"Skaarf": "*Skaarf*",
- Added
.rateLimit
information to requests
- Added support for playerNames endpoint change; getByName now supports multiplayer name lookups - players.getByName now requires an array
- playerNames will now be encoded correctly when making requests
- Item names are now sanitized correctly (#6)
- Exposing data models for development using sample data.
- Added Grumpjaw actor
- Added
.debug
key to error responses.
vainglory.players.getById(playerId).then((player) => {
if (player.errors) {
// see inside request options
return console.log(player.debug);
};
console.log(player.id);
console.log(player.stats);
}).catch((errorMsg) => {
console.error(errorMsg);
});
- Added support to change region
vainglory.setRegion('region-id');
Final pre-release.
- Improved error handling and messaging
- Normalized data responses with
errors
key - Tests are back
- Coverage needs improvement
- Added support to change regions
// Defaults to na
const vg = new Vainglory('api-key', { region: 'sg' })
- Moved polyfill entrypoint to index.js
- Some initial work of error handling / messaging