npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

epitech_intranet_api

v1.2.7

Published

api for epitech student that want to use request on intranet

Downloads

25

Readme

Pypi Pypi

Install

npm i epitech_intranet_api

Use it:

    const IntraApiEpi = require("epitechIntranetApi");

    const intra = new IntranetApi("Your autologin");

User:

getProfile
    intra.user.getProfile() returns important information about the user
getGpa
    intra.user.getGpa() return the user GPA
getCredits
    intra.user.getCredits() return the user Crédits
getPromo
    intra.user.getPromo() return the user Promo
getScolarYear
    intra.user.getScolarYear() return the user ScolarYear
getStudentYear
    intra.user.getStudentYear() return the user StudentYear
getEpitechEmail
    intra.user.getEpitechEmail() return the user Epitech Email
getBinomes
    intra.user.getBinomes() return the user Binomes
getFlags
    intra.user.getFlags() return all the user Flags
    intra.user.getFlags("medal") return the user Medail Flags
    intra.user.getFlags("remarkable") return the user Remarkable Flags
    intra.user.getFlags("difficulty") return the user Difficulty Flags
    intra.user.getFlags("ghost") return the user Ghost Flags
getPicture
    intra.user.getPicture() return the user url Picture
getNotifications
    intra.user.getNotifications() return the user Notifications
getXp
    intra.user.getXp(year, ?detail) return the user XP

Modules:

getAllModules
    intra.module.getAllModules() return all the modules
getModulesBySemester 
    intra.module.getModulesBySemester(semester) return all the modules of the semester
getModuleById
    intra.module.getModuleById(moduleId) return the module with the id
getModuleByStatus
    intra.module.getModuleByStatus(status) return all the modules with the status
getModuleByGrades
    intra.module.getModuleByGrades(grades) return all the modules with the grades
getStatusRegisterProject
    intra.module.getStatusRegisterProject(status) return RegisterProject Status
registerModule
    intra.module.registerModule(module) register you to a module
unregisterModule
    intra.module.unregisterModule(module) unregister you from a module

Planning :

getCurrentPlanning
    intra.planning.getCurrentPlanning() return the current planning with possible args like "semester"

Grades :

getGrades
    intra.grades.getGrades() return all the grades or separetely by moduleId
getCurrentNotes
    intra.home.getCurrentNotes() return the current notes

Home :

getBoard
    intra.home.getBoard() return the Home Board page of Intranet

Projects :

getCurrentProjet
    intra.project.getCurrentProjet() return the current projet
getCurrentProjectByName
    intra.project.getCurrentProjectByName(name) return the current project with the name
getProjectByModdule
    intra.project.getProjectByModdule(moduleId) return the project with the moduleId
getProjectByModuleAndName
    intra.project.getProjectByModuleAndName(moduleId, name) return the project with the moduleId and name
getProjectFile
    intra.project.getProjectFile("B-PRO-300", "Internship") return you the file of the project
getStatusRegisterProject
    intra.project.getStatusRegisterProject() return the status register project
registerProject
    intra.project.registerProject("B-PRO-300", "Internship")) register you to a project
unregisterProject
    intra.project.unregisterProject("B-PRO-300", "Internship")) unregister you from a project

Activites :

getCurrentActivity
    intra.home.getCurrentActivity() return the current activity