curl --request GET \
--url https://api.followw.app/classrooms/{classroom_id}/frequencyimport requests
url = "https://api.followw.app/classrooms/{classroom_id}/frequency"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms/{classroom_id}/frequency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"progress": {
"taught": 123,
"total": 123,
"percentage": 123
},
"frequency_status": "nao_registrada",
"lessons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"occurred_on": "2023-12-25",
"start_time": "<string>",
"end_time": "<string>",
"status": "presente",
"absences": 0,
"marked": false
}
],
"totals": {
"presences": 123,
"absences": 123,
"percentage": 123,
"max_absences": 123,
"estimated": true
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Consultar frequência e andamento de uma turma
Aceita Classroom.id (hash) ou sigaa_id numérico. frequency_status indica nao_registrada, parcialmente_registrada ou registrada nas entradas publicadas. lessons traz as aulas da turma (criadas pelo calendário e horário no sync das turmas, com start_time e end_time) até ontem, as publicadas pelo SIGAA fora delas e as com situação do aluno, mais recentes primeiro; totals soma as marcações aos totais do SIGAA.
curl --request GET \
--url https://api.followw.app/classrooms/{classroom_id}/frequencyimport requests
url = "https://api.followw.app/classrooms/{classroom_id}/frequency"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms/{classroom_id}/frequency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"progress": {
"taught": 123,
"total": 123,
"percentage": 123
},
"frequency_status": "nao_registrada",
"lessons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"occurred_on": "2023-12-25",
"start_time": "<string>",
"end_time": "<string>",
"status": "presente",
"absences": 0,
"marked": false
}
],
"totals": {
"presences": 123,
"absences": 123,
"percentage": 123,
"max_absences": 123,
"estimated": true
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
no-cache (ou max-age=0) busca na origem antes de responder; max-age=N aceita cache de até N s; stale-if-error[=N] devolve o cache se a origem falhar; only-if-cached nunca busca (504 sem cache).
Path Parameters
Classroom.id ou Classroom.sigaa_id.
Response
Successful Response
O "Andamento das Aulas" da turma virtual: quanto da CH já foi ministrada.
Show child attributes
Show child attributes
Quanto das entradas publicadas o docente já registrou.
nao_registrada, parcialmente_registrada, registrada Show child attributes
Show child attributes
Presenças, faltas e frequência, pela chamada do SIGAA e as marcações do aluno.
Show child attributes
Show child attributes