GithubHelp home page GithubHelp logo

d-chandrahas / iith-attendance Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 73 KB

3rd party iith attendance app that uses the official api

License: GNU General Public License v3.0

Python 100.00%
3rd-party attendance iith official-api cli python

iith-attendance's Introduction

This is a simple alternative for the iith attandance app. It uses the same api endpoint as the official app. *

* 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 '.\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.

iith-attendance's People

Contributors

d-chandrahas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.