r6-data.js 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/methods/createDiscordR6Webhook.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,12 @@ npm install r6-data.js
|
|
|
21
21
|
npm i r6-data.js
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
## R6Data Website for stats and API
|
|
25
|
+
|
|
26
|
+
This is the website where you can directly track your stats and also check the all infos that gives r6-data.js. Entire website is based on r6-data.js.
|
|
27
|
+
|
|
28
|
+
Visit the official website: **[r6data.eu](https://r6data.eu/)**
|
|
29
|
+
|
|
24
30
|
## Getting Player Account Information
|
|
25
31
|
|
|
26
32
|
The `getAccountInfo()` function allows you to retrieve player profile data from the official Rainbow Six Siege API. This function is specifically designed for retrieving account information such as player level, experience, clearance level, and profile settings.
|
|
@@ -207,8 +207,9 @@ function getRankName(rankNumber) {
|
|
|
207
207
|
11: 'Silver V', 12: 'Silver IV', 13: 'Silver III', 14: 'Silver II', 15: 'Silver I',
|
|
208
208
|
16: 'Gold V', 17: 'Gold IV', 18: 'Gold III', 19: 'Gold II', 20: 'Gold I',
|
|
209
209
|
21: 'Platinum V', 22: 'Platinum IV', 23: 'Platinum III', 24: 'Platinum II', 25: 'Platinum I',
|
|
210
|
-
26: '
|
|
211
|
-
31: '
|
|
210
|
+
26: 'Emerald V', 27: 'Emerald IV', 28: 'Emerald III', 29: 'Emerald II', 30: 'Emerald I',
|
|
211
|
+
31: 'Diamond V', 32: 'Diamond IV', 33: 'Diamond III', 34: 'Diamond II', 35: 'Diamond I',
|
|
212
|
+
36: 'Champion'
|
|
212
213
|
};
|
|
213
214
|
|
|
214
215
|
return ranks[rankNumber] || 'Unknown Rank';
|
package/package.json
CHANGED