isen

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoginPage    = "https://ent-toulon.isen.fr/login"
	MainMenuPage = "https://ent-toulon.isen.fr/faces/MainMenuPage.xhtml"

	SelfInfoMenuId aurion.MenuId = "0_0"
	NotationMenuId aurion.MenuId = "2_1"
	AbsenceMenuId  aurion.MenuId = "2_2"
)

Variables

This section is empty.

Functions

func AbsencePage

func AbsencePage() aurion.ScrapTableOption

func NotationPage

func NotationPage() aurion.ScrapTableOption

Types

type Absence

type Absence struct {
	Date     string   `json:"Date,omitempty"`
	Reason   string   `json:"Reason,omitempty"`
	Duration string   `json:"Duration,omitempty"`
	Hours    string   `json:"Hours,omitempty"`
	Course   string   `json:"Course,omitempty"`
	Teachers []string `json:"Teachers,omitempty"`
	Subject  string   `json:"Subject,omitempty"`
}

func GetAbsenceList

func GetAbsenceList(token aurion.Token) ([]Absence, error)

type Notation

type Notation struct {
	Date          string   `json:"date,omitempty"`
	Code          string   `json:"code,omitempty"`
	Name          string   `json:"name,omitempty"`
	Note          string   `json:"note,omitempty"`
	AbsenceReason string   `json:"absence_reason,omitempty"`
	Comments      string   `json:"comments,omitempty"`
	Teachers      []string `json:"teachers,omitempty"`
}

func GetNotationList

func GetNotationList(token aurion.Token) ([]Notation, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL