@eso-status/forum-message
v1.0.8
Published
Library used to get servers status of The elders scrolls Online game with https://forums.elderscrollsonline.com/ and https://forums.elderscrollsonline.com/en/categories/pts
Downloads
84
Readme
eso-status/forum-message
eso-status/forum-message is a library for getting and formatting data can founded in https://forums.elderscrollsonline.com/ and https://forums.elderscrollsonline.com/en/categories/pts
Table of Contents
How to get it ?
npm i @eso-status/forum-message
How to use it ?
- TypeScript
import { RawEsoStatus } from '@eso-status/types';
import { ForumMessage } from "@eso-status/forum-message";
ForumMessage.getData().then((data: RawEsoStatus[]): void => {
}).catch((error: Error): void => {
});
- JavaScript
const { ForumMessage } = require('@eso-status/forum-message');
ForumMessage.getData().then(function (data) {
}).catch(function (error) {
});
Returned data format ?
[
{
sources: [
'https://forums.elderscrollsonline.com/en/categories/pts',
'https://forums.elderscrollsonline.com/'
],
raw: '• PC/Mac: NA and EU megaservers for patch maintenance – July 26, 4:00AM EDT (8:00 UTC) – 8:00AM EDT (12:00 UTC)',
slugs: [ 'server_pc_na' ],
rawDate: 'July 26, 4:00AM EDT (8:00 UTC) – 8:00AM EDT (12:00 UTC)',
date: [ Moment<2021-07-26T06:00:00Z>, Moment<2021-07-26T10:00:00Z> ],
type: 'server',
support: 'pc',
zone: 'na',
status: 'planned'
},
{
sources: [
'https://forums.elderscrollsonline.com/en/categories/pts',
'https://forums.elderscrollsonline.com/'
],
raw: '• PC/Mac: NA and EU megaservers for patch maintenance – July 26, 4:00AM EDT (8:00 UTC) – 8:00AM EDT (12:00 UTC)',
slugs: [ 'server_pc_eu' ],
rawDate: 'July 26, 4:00AM EDT (8:00 UTC) – 8:00AM EDT (12:00 UTC)',
date: [ Moment<2021-07-26T06:00:00Z>, Moment<2021-07-26T10:00:00Z> ],
type: 'server',
support: 'pc',
zone: 'eu',
status: 'planned'
},
{
sources: [
'https://forums.elderscrollsonline.com/en/categories/pts',
'https://forums.elderscrollsonline.com/'
],
raw: '• Xbox: NA and EU megaservers for patch maintenance – July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
slugs: [ 'server_xbox_na' ],
rawDate: 'July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
date: [ Moment<2021-07-28T08:00:00Z>, Moment<2021-07-28T12:00:00Z> ],
type: 'server',
support: 'xbox',
zone: 'na',
status: 'planned'
},
{
sources: [
'https://forums.elderscrollsonline.com/en/categories/pts',
'https://forums.elderscrollsonline.com/'
],
raw: '• Xbox: NA and EU megaservers for patch maintenance – July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
slugs: [ 'server_xbox_eu' ],
rawDate: 'July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
date: [ Moment<2021-07-28T08:00:00Z>, Moment<2021-07-28T12:00:00Z> ],
type: 'server',
support: 'xbox',
zone: 'eu',
status: 'planned'
},
{
sources: [
'https://forums.elderscrollsonline.com/en/categories/pts',
'https://forums.elderscrollsonline.com/'
],
raw: '• PlayStation®: NA and EU megaservers for patch maintenance – July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
slugs: [ 'server_ps_na' ],
rawDate: 'July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
date: [ Moment<2021-07-28T08:00:00Z>, Moment<2021-07-28T12:00:00Z> ],
type: 'server',
support: 'ps',
zone: 'na',
status: 'planned'
},
{
sources: [
'https://forums.elderscrollsonline.com/en/categories/pts',
'https://forums.elderscrollsonline.com/'
],
raw: '• PlayStation®: NA and EU megaservers for patch maintenance – July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
slugs: [ 'server_ps_eu' ],
rawDate: 'July 28, 6:00AM EDT (10:00 UTC) – 10:00AM EDT (14:00 UTC)',
date: [ Moment<2021-07-28T08:00:00Z>, Moment<2021-07-28T12:00:00Z> ],
type: 'server',
support: 'ps',
zone: 'eu',
status: 'planned'
},
{
sources: [ 'https://forums.elderscrollsonline.com/en/categories/pts' ],
raw: 'We will be performing maintenance for patch 7.1.2 on the PTS on Monday at 2:00AM EDT (06:00 UTC). ',
slugs: [ 'server_pc_pts' ],
rawDate: 'Monday at 2:00AM EDT (06:00 UTC). ',
date: [ Moment<2021-07-24T04:00:00Z> ],
type: 'server',
support: 'pc',
zone: 'pts',
status: 'planned'
}
]