@eso-status/live-services
v2.0.0-dev.3
Published
Library for retrieving and formatting data, which can be found at https://live-services.elderscrollsonline.com/status/realms
Downloads
33
Readme
eso-status/live-services
eso-status/live-services is a library for retrieving and formatting data, which can be found at https://live-services.elderscrollsonline.com/status/realms.
Table of Contents
Install
npm i @eso-status/live-services
Usage
import LiveServices from '@eso-status/live-services';
import { EsoStatusRawData } from '@eso-status/types';
const esoStatusRawDataList: EsoStatusRawData[] = await LiveServices.getData();
Return exemple
[
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (EU)":"UP"',
slug: 'server_pc_eu',
type: 'server',
support: 'pc',
zone: 'eu',
status: 'up',
rawSlug: 'The Elder Scrolls Online (EU)',
rawStatus: 'UP'
},
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (NA)":"UP"',
slug: 'server_pc_na',
type: 'server',
support: 'pc',
zone: 'na',
status: 'up',
rawSlug: 'The Elder Scrolls Online (NA)',
rawStatus: 'UP'
},
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (PS4 - EU)":"UP"',
slug: 'server_ps_eu',
type: 'server',
support: 'ps',
zone: 'eu',
status: 'up',
rawSlug: 'The Elder Scrolls Online (PS4 - EU)',
rawStatus: 'UP'
},
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (PS4 - US)":"UP"',
slug: 'server_ps_na',
type: 'server',
support: 'ps',
zone: 'na',
status: 'up',
rawSlug: 'The Elder Scrolls Online (PS4 - US)',
rawStatus: 'UP'
},
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (PTS)":"UP"',
slug: 'server_pc_pts',
type: 'server',
support: 'pc',
zone: 'pts',
status: 'up',
rawSlug: 'The Elder Scrolls Online (PTS)',
rawStatus: 'UP'
},
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (XBox - EU)":"UP"',
slug: 'server_xbox_eu',
type: 'server',
support: 'xbox',
zone: 'eu',
status: 'up',
rawSlug: 'The Elder Scrolls Online (XBox - EU)',
rawStatus: 'UP'
},
{
source: 'https://live-services.elderscrollsonline.com/status/realms',
raw: '"The Elder Scrolls Online (XBox - US)":"UP"',
slug: 'server_xbox_na',
type: 'server',
support: 'xbox',
zone: 'na',
status: 'up',
rawSlug: 'The Elder Scrolls Online (XBox - US)',
rawStatus: 'UP'
}
]