Code Monkey home page Code Monkey logo

ncov-zit's Introduction

ncov-zit

An automatic punch-in project based on Weishao's third-party application punch-in platform.


PyPI - fuckzk PyPI - Python Version pypi_downloads_per_month

说明

基于微哨的第三方app的自动打卡“健康打卡平台”自动打卡实现
基于python3版本适用于linux windows MacOs


🚀部署安装
git clone https://github.com/WildboarG/ncov-zit.git
依赖
#python3.6+ 
pip3 install requirement.txt
配置
/info/__init__.py
index = "所在学校的对微哨请求cookie的api"
host =  ...
refer = ...

authorityid= [自行抓包获取]

实现

  • 利用csv 文件进行批量处理
  • 利用json 文件进行批量处理

实例

 oh_my-zit -u 学号 -p 密码 sign

csv格式

学号1,密码,MIT
学号2,密码,MIT
学号3,密码,MIT

json格式

[
    {
        "username": "学号1",
        "password": "密码"
    },
    {
        "username": "学号2",
        "password": "密码"
    }
]

其他

  • 开箱即用
  • 安装快捷脚本
pip install ncov-zit
  • 直接签到
oh_my-zit -u 学号 -p 密码 sign
  • 批量签到
oh_my-zit -u 学号 -p 密码 sign -j json
oh_my-zit -u 学号 -p 密码 sign -c CSV 
  • 修改签到地点
oh_my-zit -u 学号 -p 密码 sign -a "纽约市皇后区英格拉姆街20号"

查询

  • 查询指定班级
oh_my-zit -u 学号 -p 密码 query {-m -s}
   -m 10376 班级id
   -s 为起始查询日期(Year-Month-Day)
  • 查询指定组织/学院
oh_my-zit -u 学号 -p 密码 org {-g -s}
   -g 10000 组织id
   -s 为起始查询日期(Year-Month-Day)

返回值说明

  Already Clocked 已经打卡
  Successlly 打卡成功
  其他情况视作失败,自行检查

说明

由于本校已经与2022年12月31日下线打卡系统,代码不再更新,感谢学校的一路陪伴。

📜 声明


本项目仅供学习与研究之用,请勿用于商业或非法用途。原作者不能完全保证项目的合法性,准确性和安全性,因使用不当造成的任何损失与损害,与原作者无关。请仔细阅读此声明,一旦您使用并复制了本项目,则视为已接受此声明,并承担可能引发的后果,请遵守开源协议。

ncov-zit's People

Contributors

wildboarg avatar

Stargazers

 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.