splatoon-3-rotation v1.1.5
Splatoon 3 rotation
Splatoon-3-Rotation is a module to get rotations in Splatoon 3. I'm helped with splatoon3.ink.
Installation:
To install this module, just write this command on your commandline:
npm i splatoon-3-rotationUsage:
Import
You can import this module with this code :
const Splatoon3 = require("splatoon-3-rotation")To get the regular Schedules
To get the Turf War or Ranked series/open rotation schedules, you can use this function: regularRotation().
Splatoon3.regularRotation("en", 16, (err, data) =>{
if(err) return console.log(err)
console.log(data)
});enis a language selected to have the name of the maps and game modes translated, you can exchangeenby available language.16is the hour selected to know the Schedule of the rotation, you can exchange with this conditions:0 - 24for 0 - 24 hour
nowfor the actual rotation
Normally you obtain a result like this :
{
regular: {
start_time: '2022-10-09T22:00:00Z',
end_time: '2022-10-10T00:00:00Z',
firstStage: {
name: 'Hammerhead Bridge',
image: 'https://splatoon3.ink/assets/splatnet/stage_img/icon/low_resolution/1db8ab338b64b464df50e7f9e270e59423ff8caac6f09679a24f1b7acf3a82f3_1.png'
},
secondStage: {
name: 'MakoMart',
image: 'https://splatoon3.ink/assets/splatnet/stage_img/icon/low_resolution/a8ba96c3dbd015b7bc6ea4fa067245c4e9aee62b6696cb41e02d35139dd21fe7_1.png'
},
mode: 'Turf War'
},
ranked: {
series: {
start_time: '2022-10-09T22:00:00Z',
end_time: '2022-10-10T00:00:00Z',
firstStage: [Object],
secondStage: [Object],
mode: 'Splat Zones'
},
open: {
start_time: '2022-10-09T22:00:00Z',
end_time: '2022-10-10T00:00:00Z',
firstStage: [Object],
secondStage: [Object],
mode: 'Rainmaker'
}
}
}To get the Salmon rotation
To get the salmon rotation schedules, you can use this function: salmonRotation().
Splatoon3.salmonRotation("en", 1, (err, data) =>{
if(err) return console.log(err)
console.log(data)
});enis a language selected to have the name of the maps and game modes translated, you can exchangeenby available language.1is the actual or coming soon Schedule of the rotation, you can exchange with this conditions:0for actual rotation
1 - 4for coming soon rotations
nowfor the actual rotation
Normally you obtain a result like this :
{
details: {
start_time: '2022-10-08T08:00:00Z',
end_time: '2022-10-10T00:00:00Z',
stage: {
name: 'Sockeye Station',
image: 'https://splatoon3.ink/assets/splatnet/stage_img/icon/high_resolution/3418d2d89ef84288c78915b9acb63b4ad48df7bfcb48c27d6597920787e147ec_0.png'
}
},
weapons: {
first: {
name: 'Tri-Slosher',
image: 'https://splatoon3.ink/assets/splatnet/weapon_illust/f3dbd98d5b0e89f7be7eff25a5c63a06045fe64d8ffd5886e79c855e16791563_0.png'
},
second: {
name: 'Splat Brella',
image: 'https://splatoon3.ink/assets/splatnet/weapon_illust/15d101d0d11acbb8159e2701282879f2617d90c8573fd2f2239807721ff54ca4_0.png'
},
third: {
name: 'Splattershot Pro',
image: 'https://splatoon3.ink/assets/splatnet/weapon_illust/5607f7014bbc7339feeb67218c05ef19c7a466152b1bd056a899b955127ea433_0.png'
},
fourth: {
name: 'Tri-Stringer',
image: 'https://splatoon3.ink/assets/splatnet/weapon_illust/676d9f49276f171a93ac06646c0fbdfbeb8c3d0284a057aee306404a6034ffef_0.png'
}
}
}Avalaible languages
Current available language :
en: English languageEnglishfr: French languageFrançaises: Spanish languageespañolde: German languageDeutsch
If something wrong with the translate, please tell me for fix that ;)
Thanks you for download my module
Octokling ;)