Attendance APi

Attendance APi

by Ahmad Dorra -
Number of replies: 2

hi moodle community, is there any way to get attendance over api without supplying session ids as in read all? Im using the attendance plugin Blocks ::: block_attendance maintained by dan marsden

Average of ratings: -
In reply to Ahmad Dorra

Re: Attendance APi

by Brandon Martel -

Hello friend,


I'm not quite sure what you mean by attendance over api. Are you looking to pull attendance data? If so I have written an SQL query that pulls all student session information as well as the students last access if that helps at all. Let me know and I can share the code with you smile.  

In reply to Brandon Martel

Re: Attendance APi

by Ahmad Dorra -
Hi Brandon,
I ended up storing the session ids in my database in order to retrieve students attendance.
What i meant by api is I am using Moodle web services to connect my laravel application to moodle through REST APIs
Thank you