This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ api.getItems().then((response: any) => {
3434```
3535
3636## Documentation / Methods
37- You can view all the available methods and documentation on the [ PaladinsDev website] ( https://paladins.dev/docs/paladins.js/v/1.0 .0/ ) .
37+ You can view all the available methods and documentation on the [ PaladinsDev website] ( https://paladins.dev/docs/paladins.js/v/1.1 .0/ ) .
Original file line number Diff line number Diff line change 11{
22 "name" : " paladins.js" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " A JavaScript package to help make communication with the Paladins API from Hi-Rez/Evil Mojo easier." ,
55 "keywords" : [
66 " paladins" ,
Original file line number Diff line number Diff line change @@ -92,6 +92,16 @@ export class API {
9292 return this . endpoint ( "getplayer" , [ player ] ) ;
9393 }
9494
95+ /**
96+ * Get a batch of players via player ids
97+ *
98+ * @param number[] playerIds
99+ * @return any
100+ */
101+ public getPlayerBatch ( playerIds : number [ ] ) {
102+ return this . endpoint ( "getplayerbatch" , [ playerIds . join ( ',' ) ] )
103+ }
104+
95105 /**
96106 * Get an array of players with the requested name.
97107 *
You can’t perform that action at this time.
0 commit comments