A strongly typed fork of paladins.js, used by Paladins Edge
- Well maintained and up-to-date library
- All of the methods have the exact response type
- Updated champion enums to include
Betty la Bomba
as perMonstercat
patch
- BREAKING CHANGE: Removed
getBountyItems
api - Added
getPlayerQueueStatsBatch
api - Added
getLeaderboard
api - Updated dependencies internally
Reason: Paladins bounty store has been closed, this changes removes the api from being used in the future
- Added support for
Omen
- Added Bans 7,8 in match details
- Removed
Ranked Controller
- Renamed
Ranked Keyboard
toRanked
- Added support for
Nyx
- Added support for
Kasumi
- Added support for
Choose Any
- Added
Region
ingetMatchIdsByQueue
api response
- Added support for
Caspian
- Added
getDevId
method - Added forceRefresh param in
getRequestsInfo
- Added support for
Lillith
- Upgrade dependencies
- Replaced
moment
library withdayjs
- Updated readme
- Added support for
Betty la Bomba
- Added Siege: Beyond queue in
Enums
,Strings
andData
- Updated
Data
,Enums
,Strings
for championVII
- Updated enums for
getMatchDetails
,getPlayerMatchHistory
- Added
TaskForce
toEnums
- Fixed
champion_id
type inChampionCard
- BREAKING CHANGE: renamed
GetMatchIDSByQueue
ApiResponse interface toGetMatchIdsByQueue
- BREAKING CHANGE: renamed
Data
objects from capital to pascal case and changed keys from strings to enums - Refactored
ApiResponse
,Data
,Enums
,Strings
into their own folders - Updated documentation for a few API methods
- Updated
getPlayerQueueStats
andgetMatchIdsByQueue
queueId params to be Enums.Queue instead of number - Updated for
ApiResponse
property
Reason: these changes are a part of the library refactoring and removing clutter, and making things consistent. These will be the last set of breaking changes.
$ npm install pe-paladins.js
import { API, ApiResponse } from "pe-paladins.js";
const api = new API({
devId: "your dev id",
authKey: "your authKey",
languageId: 1, // optional
}); // API loaded and ready to go.
const foo = async () => {
let response: ApiResponse.GetDataUsage
try {
response = await api.getDataUsage()
// Do something with response
} catch(error) {
// Handle the error
}
}
const { API } = require("pe-paladins.js");
const api = new API({
devId: "your dev id",
authKey: "your authKey",
languageId: 1, // optional
}); // API loaded and ready to go.
const foo = async () => {
let response;
try {
response = await api.getDataUsage()
// Do something with response
} catch(error) {
// Handle the error
}
}
You can view all the available methods and documentation on pe-paladins.paladinsedge.app. Some of the methods are removed/changed in pe-paladins.js compared to paladins.js