Skip to content

D-Chandrahas/IITH-Attendance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple alternative for the iith attandance app. It uses the same api as the official app and hence, is indistinguishable to the server. *

* Not guaranteed. I am not responsible for any consequences of using this script. Use at your own risk.

Features

  • You can mark attendance from anywhere.
  • No facial recognition, location checking etc.
  • Attendance can be marked before the class starts or after the class ends.
    • However, this is not recommended since the erp server probably logs requests including time of request.
      • Although, I don't think anyone would check logs of thousands of students and requests per day.

Usage

  • Make sure you have requests installed.
    • If not, install it using pip install requests.
  • Download and place attendance.py in a folder of your choice.
  • Run the script using python attendance.py.
    • The script creates a config.json file in the same folder as the script.
      • This file stores your credentials.
  • Enter your username and password to login.
    • Enter S.No of the class you want to mark attendance for.

Screenshots

Screenshot1

Advanced usage

usage: python attendance.py [filepath]

optional arguments:
    filepath                Path to the config file. If it doesn't exist, it will be created.

Examples:

python attendance.py 'C:\Users\<user>\Documents\config1.json'
python attendance.py '~\Desktop\settings2.json'
python attendance.py '.\file3.json'

Notes

  • The program was tested with python 3.10, requests==2.31.0 on windows 10.
    • It should work on other versions of python and requests but I can't guarantee it.
  • Only one user can be logged in at a time (per config file).
    • To use multiple accounts, create multiple config files.

Troubleshooting

  • If you encounter any issues, try deleting the config.json file and running the script again.
    • If the issue persists, open an issue on github with steps to reproduce the issue.

About

3rd party iith attendance app that uses the official api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages