Unipa Unofficial API from UNIPA in tasca
url -> https://cas.unipa.it/sso/v1/tickets,
method -> POST,
body -> { username, password }
url -> Authentication.response.headers.location,
method -> POST,
body -> { service }
Use cookies to keep CAS service authorization.
url -> {{service}}?ticket={{ticket}},
method -> GET,
headers -> { Authorization="UnipaAuth {{key}}" }
STUDENTI_API_KEY = aq4R51jA3g4af5042yH0aWt58t4a341c34tcRa73
STUDENTI_SERVICE_ID = 2000000
Result is (request query + STUDENTI_SERVICE_ID) encrypted with STUDENTI_API_KEY (SHA 256)
https://studentiws.unipa.it/v2/libretto.php?lingua=ITA
to_encrypt = lingua=ITA2000000
key = 405610f9c526ac061b765f227f7d600f45d57c677003180160fc278384d10395
@Base https://studentiws.unipa.it/v2
url -> /menu.php,
query -> { lingua }
url -> /user.php
url -> /libretto.php,
query -> { lingua }
url -> /appelli.php,
query -> {
lingua,
matricola,
cfu,
cod_corso,
cod_inse,
prog_inse,
stato
}
url -> /messaggi.php,
query -> {
lingua,
ts (yyyy-mm-ddThh:mm:ssZ)
}
url -> /fotoStudente.php,
query -> { matricola }
Use html scraping.
url -> http://immaweb.unipa.it/immaweb/private/pratiche/listPratiche.seam