Skip to content

Get module infos

Rémy Noulin edited this page Sep 1, 2021 · 2 revisions

Now to get Modules infos you need to do like that:

profile = client.get_module("module name")

You can use the module class like that

module = client.get_module("B-MUL-100")
print(str(module.credits))
$> python3 exemple.py
-> 5

where module name equals to B-MUL-100 for example and code is like TLS-1-1 check this if you are confused

id
title_cn
semester
num
begin
end
end_register
scolaryear
code
codeinstance
location_title
instance_location
flags
credits
rights
status
waiting_grades
active_promo
open
title

You can reefer to a module for more infos https://intra.epitech.eu/course/filter?format=json for example

Clone this wiki locally