dairoot / School Api
Licence: mit
🌱 校园教务系统接口,正方教务系统 SDK for Python
Stars: ✭ 165
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to School Api
Jitsi Meet Sdk Samples
Jitsi Meet SDK examples (Android and iOS)
Stars: ✭ 150 (-9.09%)
Mutual labels: sdk
Smartopencv
🔥 🔥 🔥 SmartOpenCV是一个OpenCV在Android端的增强库,解决了OpenCV Android SDK在图像预览方面存在的诸多问题,且无需修改OpenCV SDK源码,与OpenCV的SDK解耦
Stars: ✭ 1,869 (+1032.73%)
Mutual labels: sdk
Contentful Management.js
JavaScript library for Contentful's Management API (node & browser)
Stars: ✭ 160 (-3.03%)
Mutual labels: sdk
Wechatpay Apache Httpclient
微信支付 APIv3 Apache HttpClient装饰器(decorator)
Stars: ✭ 147 (-10.91%)
Mutual labels: sdk
Arcgis Pro Sdk
ArcGIS Pro SDK for Microsoft .NET is the new .NET SDK for the ArcGIS Pro Application.
Stars: ✭ 156 (-5.45%)
Mutual labels: sdk
Appsflyer React Native Plugin
AppsFlyer plugin for React Native
Stars: ✭ 149 (-9.7%)
Mutual labels: sdk
Onesignal Unity Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Stars: ✭ 161 (-2.42%)
Mutual labels: sdk
Javascript Sdk
Javascript SDK to communicate with Binance Chain.
Stars: ✭ 151 (-8.48%)
Mutual labels: sdk
Card.io Android Sdk
card.io provides fast, easy credit card scanning in mobile apps
Stars: ✭ 1,942 (+1076.97%)
Mutual labels: sdk
Pronounce
Never doubt how to pronounce a word. Double-click it and your browser will say it out loud for you!
Stars: ✭ 151 (-8.48%)
Mutual labels: school
Esp8266 Firmware
DeviceHive esp8266 firmware. Control hardware via clouds with DeviceHive!
Stars: ✭ 154 (-6.67%)
Mutual labels: sdk
P2p Cdn Sdk Javascript
Free p2p cdn github javascript sdk to reduce video streaming costs of live and on demand video using webrtc by upto 90% and improve scalability by 6x - 🚀 Vadootv 🚀
Stars: ✭ 158 (-4.24%)
Mutual labels: sdk
正方系统 Python SDK。
Usage
$ pip install School-Api
from school_api import SchoolClient
# 先实例化一个学校,再实例化用户
school = SchoolClient(url='http://210.38.137.126:8016')
user = school.user_login('2014xxxx', 'xxxx')
schedule_data = user.get_schedule()
print(schedule_data)
Api Function
Api | Description | Argument |
---|---|---|
user_login | 登陆函数 | account, password, user_type=1, use_cookie_login=True |
get_schedule | 课表查询 | schedule_year=None, schedule_term=None, schedule_type=None |
get_score | 成绩查询 | score_year=None, score_term=None, use_api=0 |
get_info | 用户信息查询 | |
get_place_schedule | 教学场地课表查询(可用于空教室查询) | campus_list=None, building_list=None, classroom_type_list=None, classroom_name_list=None, filter_campus_list=None, filter_building_list=None, filter_classroom_type_list=None |
School-Api Options
Option | Default | Description |
---|---|---|
url | 不存在默认值 | 教务系统地址(必填 ) |
name | NULL | 学校名称 |
code | NULL | 学校英文缩写 |
login_url_path | /default2.aspx | 登录地址路径 |
lan_url | None | 内网地址 |
exist_verify | True | 是否存在验证码 |
use_ex_handle | True | 是否使用异常处理 |
priority_proxy | False | 是否优先使用代理 |
proxies | None | 代理地址 |
url_path_list | 略 |
学校接口地址列表 |
class_time_list | 略 |
上课时间列表 |
timeout | 10 | 全局请求延时 |
session | MemoryStorage | 缓存工具(推荐使用redis) |
User permissions
用户 \权限 | 个人课表类型 | 班级课表类型 | 个人信息 | 成绩信息 | |||
学生课表 | 教师课表 | 学生课表 | 教师课表 | 教学场地课表 | |||
学生 | √ | √ | √ | √ | |||
教师 | √ | √ | |||||
部门 | √ | √ |
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].