⚠️ upht-api -> esup-multi.js ⚠️
A simple wrapper to interact with the internal UPHF (Université Polytechnique Haut-de-France) API
Important
This package is not affiliated with the UPHF (Université Polytechnique Haut-de-France) and is not officially supported by the institution. I am not responsible for any misuse of this package. This package is intended to help students and staff to interact with the internal API of the UPHF.
# With npm
npm install uphf-api
# With pnpm
pnpm add uphf-api
# With yarn
yarn add uphf-api
const UPHF = require('uphf-api');
async function main(username, password) {
let client = await UPHF.authWithCredentials({
username: username,
password: password
});
console.log(client);
}
main('username', 'password');
You can view other examples in the examples folder.
-
🔐 Connection
- With credentials
- With refresh token
-
📰 Actualities
-
📒 Contacts
-
🪪 Features authorization
-
📯 Important news
-
🗺️ Maps
- Campus
- Categories
- Points of interest
-
📅 Personal calendars (Zimbra calendars)
-
🍴 Restaurants
- General information
- Menus
-
📅 Schedule
-
🔑 SSO Connection (via CAS for external services)
-
✉️ Unread messages count (Zimbra mailbox)
-
🫴 Useful information
-
👨 User information
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- UPHF (Université Polytechnique Haut-de-France) for the API and account.
- Raphaël (raphckrman) for the structure of the library.
If you have any questions, feel free to contact me at tom.theret@uphf.fr.