Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Releases: tom-theret/uphf-api

v2.2.0

10 Oct 22:08

Choose a tag to compare

v2.1.3

07 Oct 09:34

Choose a tag to compare

Full Changelog: v2.1.2...v2.1.3

v2.1.2

03 Oct 13:39

Choose a tag to compare

Full Changelog: v2.1.1...v2.1.2

v2.1.1

02 Oct 14:33

Choose a tag to compare

Full Changelog: v2.1.0...v2.1.1

v2.1.0

02 Oct 10:09

Choose a tag to compare

Full Changelog: v2.0.0...v2.1.0

v2.0.0

30 Sep 21:25

Choose a tag to compare

Full Changelog: v1.2.1...v2.0.0

v1.2.1

28 Sep 23:19

Choose a tag to compare

Full Changelog: v1.2.0...v1.2.1

v1.2.0 (First usable version)

27 Sep 11:02

Choose a tag to compare

v1.1.0

24 Sep 20:40

Choose a tag to compare

Security update

Remove credentials in UPHF class 602a3d0

Full Changelog: v1.0.0...v1.1.0

v1.0.0

23 Sep 23:21

Choose a tag to compare

Full Changelog: https://github.com/tom-theret/uphf-api/commits/v1.0.0

uphf-api

A simple wrapper to interact with the internal UPHF (Université Polytechnique Haut-de-France) API

NPM Version
NPM Downloads
NPM License

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.

📦 Installation

# With npm
npm install uphf-api
# With pnpm
pnpm add uphf-api
# With yarn
yarn add uphf-api

🔧 Usage

Authentification with credentials

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.

✅ Features

  • 🔐 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

📜 License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

📝 Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

🙏 Acknowledgments

📧 Contact

If you have any questions, feel free to contact me at tom.theret@uphf.fr.