1.0.0 • Published 4 years ago
rockstar-games-status v1.0.0
RockstarGames status
Simple package to get the current status of Rockstar Games services
Example
const fetchStatus = require('rockstar-games-status');
fetchStatus().then((statuses) => {
console.log(statuses.gtao.pc); // Up
console.log(statuses.gtao.ps4); // Down
});
Fetch with specific timezone and languages
Get results in another language or for another timezone:
const fetchStatus = require('rockstar-games-status');
fetchStatus('Europe/Rome', 'fr').then((statuses) => {
console.log(statuses.gtao.pc); // Actif
});
1.0.0
4 years ago