1.0.4 • Published 5 years ago
third-gen-web-util v1.0.4
3GPP Web Utilities
Installation
npm i third-gen-web-util
API
Import
import * as util from 'third-gen-web-util';
GetList(specNumberString, callback)
Retrive a list of specification files of a given specification numbering
util.GetList('36.331', (err, list) => {
if (err) {
console.log(err);
} else {
console.log(list);
}
});
Output
[
{
"name": "36331-100.zip",
"type": "-",
"size": 184709,
"date": "2007-12-10T23:00:00.000Z"
},
// omitted bunch of items
{
"name": "36331-f30.zip",
"type": "-",
"size": 2008689,
"date": "2018-09-27T13:07:00.000Z"
}
]
GetCalendar(tsgName, callback)
Retrieve a list of full meeting schedules of a given TSG name
util.GetCalendar('RAN', (err, data) => {
if (err) {
console.log(err);
} else {
console.log(data);
}
});
Output
{
'ab49d5cb-f47f-4f40-b7ec-9b67ab938262': {
type: 'VEVENT',
params: [],
summary: ' #2019-TTCN email',
description: '...', // omitted
'ALT-DESC': {
params: [Object],
val: '...' // omitted
},
start: { 2018-12-17T07:00:00.000Z tz: undefined },
datetype: 'date-time',
end: { 2019-12-31T22:30:00.000Z tz: undefined },
location: ' Online , US'
},
// omitted bunch of items
'147fdf5e-8836-491b-b019-d3111a5bf8f1': {
type: 'VEVENT',
params: [],
summary: ' 3GPPRAN#93',
description: '...', // omitted
'ALT-DESC': {
params: [Object],
val: '...' // omitted
},
start: { 2021-09-13T07:00:00.000Z tz: undefined },
datetype: 'date-time',
end: { 2021-09-16T16:00:00.000Z tz: undefined },
location: ' TBD , US'
}
}
1.0.4
5 years ago