GithubHelp home page GithubHelp logo

jxnu-bookseat's Introduction

江西师范大学自习室抢座脚本

一、安装使用方法

git clone https://github.com/Yang-Zhongshan/jxnu-bookseat
cd jxnu-bookseat
pip3 install -r requirements.txt
python3 main.py

二、变量配置

按照要求填写好以下变量即可

num = 1             # 人数
roomId = "301"      # 房间号
duration = 15       # 使用时长(小时)
beginTime = 8       # 开始预约时间
username = ""       # 学号
password = ""       # 密码

三、系统接口

  • 为方便大家更改,这里把用到的接口都给列了出来,参数看脚本即可
  • 登录接口:/api/1/login
  • 信息搜索接口:/Seat/Index/searchSeats?LAB_JSON=1
    • GET 是UID个人信息获取接口
    • POST 是座位获取接口
  • 座位预定接口:/Seat/Index/bookSeats?LAB_JSON=1
  • 预定信息接口:/Seat/Index/myBookingList?LAB_JSON=1

四、更新信息

2021 - 03 - 04

发现BUG :预定自习室不按照预期,似乎是会随机乱选,暂时没有找到问题所在

jxnu-bookseat's People

Contributors

zhong33 avatar

Stargazers

石头也会流泪 avatar Yuchang Dong avatar xk avatar Duan Yu avatar  avatar  avatar Auto Fang avatar YenKoc avatar Zhifeng avatar iLemonRain avatar  avatar cao xi avatar

Forkers

mmmihooo

jxnu-bookseat's Issues

好自为之

Classmate, I know you may think this is very proud of you, but in fact, many graduate students will write it by themselves, and everyone is tacitly trying not to let others know that they will do this. Try to protect the interests of other people who can do the work. You post this on the Internet. First of all, have you thought about what to do when you take the postgraduate entrance examination? Some of us have had some long-time optimized and fully functional versions, but we did not let it spread in order to take care of the interests of others. In fact, this will not bring you any benefits, but will only establish enemies for you.
The spread of your code has the following risks:

  1. It is possible to face punishment from the college. Others who have not published their code have this motivation to report you, and I just got your true identity.
  2. There are not many people who use python in other colleges. This is a large group that may be jealous and may result in school-level sanctions. The solution is to write an android and ios version of the app, which is a very costly work.

Sometimes, technology is not all of life, so turn around.

非法请求

你好,请问发送请求后,预约失败,显示非法请求怎么办

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.