Skip to content
强智教务系统API PHP封装
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
LICENSE
README.md
qzjw.class.php
url.class.php

README.md

QZAPI

强智教务系统API PHP封装

根据GDUF-QZAPI列出的API封装的PHP类。由智校园APP抓包得出,兼容可使用智校园APP的其它学校的强智教务系统。

对教务系统周边的开发有兴趣或关于本项目有疑问的都可加群:743138676交流。

例程

获取当前周的课程表

$site = "YOUR_SITE";
$xh = "YOUR_USERNAME";
$password = "YOUR_PASSWORD";
include("qzjw.class.php");
$qz = new QZAPI("http://" . $site . "/app.do");
$auth = $qz->authUser($xh,$password);
$token = $auth['token'];
if($token == -1) exit("用户名或密码错误");
$curtime = $qz->getCurrentTime($token, date("Y-m-d"));
$timetable = $qz->getKbcxAzc($token, $xh, $curtime['xnxqh'], $curtime['zc']);
print_r($timetable);
You can’t perform that action at this time.