![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
lu-schedule
Advanced tools
[![npm version](https://img.shields.io/npm/v/lu-schedule.svg?style=flat-square)](https://www.npmjs.org/package/lu-schedule)
Node.js API for interacting with Lunds Universitets TimeEdit schedule
Using npm:
$ npm install lu-schedule
Using yarn:
$ yarn add lu-schedule
Using script tag:
<script src="lu-schedule.min.js"></script>
Retrieving a schedule from URL
const { Schedule } = require('lu-schedule')
const schedule = Schedule.fromUrl('https://cloud.timeedit.net/lu/web/m1/ri14750Yg50003Q0g2QY61l4Z762X653760Y540yZ05QZ5Q6Qu496ZpQc.html')
// ES6 async await. Remember to use the `async` keyword.
async function myFunction () {
try {
await schedule.load()
console.log(schedule.lessons)
} catch (error) {
console.error(error)
}
}
// Standard promises
schedule.load()
.then(function (schedule) {
console.log(schedule)
})
.catch(function (error) {
console.error(error)
})
{
programmeId: 'm1',
id: 'ri14750Yg50003Q0g2QY61l4Z762X653760Y540yZ05QZ5Q6Qu496ZpQc',
issuer: 'Lunds universitet',
filter: 'M-RoN, RoN',
span: '2019-09-02 - 2020-01-19 v 36-3',
lessons: [
{
start: '2019-09-05T11:00:00.000Z', // Date object
end: '2019-09-05T13:00:00.000Z', // Date object
course: 'M-RoN',
studentGroups: {
groups: []
},
subGroups: {
groups: [
{ course: 'M-RoN', groupName: 'gr.09-10', groupNumbers: [9, 10] },
{ course: 'M-RoN', groupName: 'gr.13-14', groupNumbers: [13, 14] }
],
// All group numbers combined. Will only be set if any of the sub groups have groupNumbers.
groupNumbers: [9, 10, 13, 14]
},
student: '',
subCourse: '',
educationalType: 'GrpDemo',
title: 'CNS 1',
location: 'BMC I 1129 Mod 2, BMC I 1136 Mod 4',
locationComment: '',
locationBooking: '',
educator: '',
externalEducator: '',
comment: '',
url: '',
reason: '',
count: '',
id: '2037000'
},
... // Only showing one lesson here.
]
}
lu-schedule comes with TypeScript definitions.
MIT
FAQs
[![npm version](https://img.shields.io/npm/v/lu-schedule.svg?style=flat-square)](https://www.npmjs.org/package/lu-schedule)
We found that lu-schedule demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.