Catalog npm
PACKAGE EXPLORERView in registry

3il_edt

npm

retrieve schedules from EDT 3iL

Versions collected2
Direct dependencies4From release 1.1.0
Last observed20 Oct, 19:46 UTC

README

Current package documentation

3iL EDT

This tool allow you to retrieve schedules of 3iL EDT.

The project consists of representing the timetable of a school, 3iL Ingénieurs, using objects that contain information about the courses and classrooms for each day of the week. The data is stored in a structured and easily accessible format, making it easy to integrate into your development projects.

Link to npm package

Installation

To use this library you must install it into your Node JS project.

Install the library this way :

npm i 3il_edt

Use

Use like that :

var { Timetable } = require('3il_edt');

(async () => {
    var link_edt = "https://eleves.groupe3il.fr/edt_eleves/00_index.php?idGroupe=CPI1%20Groupe%201.xml" //put your own class link

    var timetable = new Timetable(link_edt)
    await timetable.create_weeks()

    console.log(myTimetable.weeks[0]);
})();

You will get a scheme like this of a single week :

Week {
    number: '04',
    year: '23',
    last_update: 'MAJ le : 23/01/23 à 15:36:28',
    raw_dates: [
        '23-01-2023',
        '24-01-2023',
        '25-01-2023',
        '26-01-2023',
        '27-01-2023'
    ],
    daily_timetable: [ [Array], [Array], [Array], [Array], [Array] ],
    daily_rooms: [ [Array], [Array], [Array], [Array], [Array] ],
    iso_dates: [
        2023-01-22T23:00:00.000Z,
        2023-01-23T23:00:00.000Z,
        2023-01-24T23:00:00.000Z,
        2023-01-25T23:00:00.000Z,
        2023-01-26T23:00:00.000Z
    ]
}

Build With

This tool was built with the libraries Cheerio (web-scrapping library) and Fetch.

Project : 3iL EDT Project

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.0Registry latest8 Sept 20234
1.0.024 Feb 20234

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:46 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ccdf5e7c6954b5fedf7ce811334a78e9c7aa974ac1b116ec040cf2962f231b59