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("手机号", "密码")
    user   = yb.get_user_name()         # 获取用户信息
    token  = yb.get_access_token()      # 获取登录密钥
    uftask = yb.get_uncompleted_task()  # 获取校本化未完成任务
    ...

示例

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

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

目录结构

yiban
├── Apis
│   ├── Task.py
│   ├── User.py
│   └── Yiban.py
└── Core
    ├── BaseYiban.py
    ├── Login.py
    └── STask.py

声明

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

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.3.tar.gz (7.8 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.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fyiban-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7f48716596e49f3e56af035469189033bda4369679203ac97097fb24f3fc2620
MD5 5bafd6060a1ace1d69dbf31fc684e35d
BLAKE2b-256 3d4ef4a87c7a5465666e722544de0b0af54c41ae21850c4d608bc067f0d30d5a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fyiban-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0cedfa39c05df041524c64f4cfab7d978d3cb4d5bf55c92cb3712a6060ed5e7
MD5 1ee3b1dcbf34a14863578794341ac970
BLAKE2b-256 6135e365c147bfe7e80caa6acd248d29d0f7d9ab3fafb01134a94a40a19d46b6

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