Skip to main content

Apis lib for yiban.

Project description

易班 🔔

  • 🔥 简单、易用、可扩展的易班 API 接口
  • 📕 适用于校本化分应用打卡
  • ⏰ 适用于校本化晚点签到
  • 🔧 可适配不同分应用

python version

pip install --upgrade fyiban

快速入门

"""快速入门"""
from yiban import Yiban

if __name__ == '__main__':
    yb = Yiban("手机号", "密码")  
    yb.get_user_name()         # 用户信息
    yb.get_user_access_token() # 登录密钥
    yb.get_user_school_name()  # 院校名称
    yb.get_task_feedback_uncompleted_task()  # 校本化 任务反馈入口 完成任务
    yb.get_task_feedback_uncompleted_task()  # 校本化 任务反馈入口 未完成任务
    ...

示例

"""校本化健康打卡"""
from yiban import Yiban

if __name__ == '__main__':
    task_data = {
        "Data":{...},
        "Extend": {...},
        "...":"..."
    }
    yb = Yiban("手机号", "密码")
    yb.submit...(task_data)
    ...

目录结构

yiban
├── Apis
│   ├── Task.py
│   ├── User.py
│   └── Yiban.py
└── Core
    ├── BaseReq.py
    ├── Login.py
    ├── EpidemicPrevention.py
    ├── SchoolBased.py
    ├── SchoolBasedAuth.py
    └── TaskFeedback.py

声明

此项目仅供学习交流,为配合防疫工作,请确保每日体温正常再进行上报。

更新日志

2022-7-19 移动端登录接口问题,暂时替换
2022-10-23 新增校本化疫情防控打卡入口
2022-10-28 新增校本化晚点签到入口

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fyiban-1.0.6.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fyiban-1.0.6-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file fyiban-1.0.6.tar.gz.

File metadata

  • Download URL: fyiban-1.0.6.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for fyiban-1.0.6.tar.gz
Algorithm Hash digest
SHA256 0f3cc78e82c23220beae3948d3739ab85977ce5f95fafab894fe6f87de82297b
MD5 fc8feba83ff251ea0035a79c5fba98dc
BLAKE2b-256 dcbe50908e7186977603e81a01a0b1cc5de3cea38b0fe0b98d6da596a5393e50

See more details on using hashes here.

File details

Details for the file fyiban-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: fyiban-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for fyiban-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d238c3c3bae635029ac34ad03f409514fc04e03fef14ef822e91b8d7c3dc7c62
MD5 14aa1fedd45f44ac2471081af9c86036
BLAKE2b-256 00ff45a73fb599566e74b541fe0e6f2a765ac25ef795e174ec59e7515919a05b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page