🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

aurion

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurion

Client for Aurion API, a french school management software

latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
28
180%
Maintainers
1
Weekly downloads
 
Created
Source

Aurion.js

Aurion.js is a JavaScript library for interacting with the Aurion API, a product from Auriga an ERP system for higher education institutions.

This library is using the mobile API of Aurion, which is a REST API instead of the Java Faces used by the web interface. Some features are not available in the mobile API, but it is more stable and faster than the web interface.

Usage

Here is an example of how to use the library to get the timetable of a user.

const { AurionClient } = require('aurion');

// Configure the client with the mobile API URL and your tokens
const client = new AurionClient({
    baseUrl: 'https://aurion.example.com/mobile',
    /*
    tokens: { // You can specify the tokens here or use the login method
        normal: 'YOUR_NORMAL_TOKEN', 
        comptage: 'YOUR_COMPTAGE_TOKEN'
    }
    */
});

// Login with your credentials
client.login('john.doe@example.com', 'password')
    .then(async () => {
        // Get the timetable between 2024-01-01 and 2024-01-02
        const timetable = await client.getTimetable(new Date('2024-01-01'), new Date('2024-01-02'));
        console.log(timetable);
    })

Features

  • Authentication
  • Timetable
  • Grades
  • Absences

Keywords

aurion

FAQs

Package last updated on 04 Feb 2024

Did you know?

Socket

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.

Install

Related posts