The most common use APIs for AHU. Made with ❤ by @lolimay, @WesteryCN and @JOHNYXUU.
Please ensure that you have installed following stuff before officially starting your development:
- pip >= 19.0.3
- python3 >= 3.6.5
- Node.js >= 11.12.0
- npm >= 6.9.0
- VS Code >= 1.33.1 (Recommended)
- VS Code Extension: Python (Recommended)
git clone [email protected]:curdbin/AHU-API.git
cd AHU-API
npm install # install node dependencies
We strongly recommend you to install python3 dependencies locally by using virtualenv
:
virtualenv venv -p python3
source venv/bin/activate
pip install -r requirements.txt
Or you can just install python3 dependencies globally by following command:
pip install -r requirements.txt # add `sudo` prefix if permission denied
cd src
cp auth.example.ini auth.ini # Only for linux, use RENAME in windows instead.
Copy auth.example.ini
to auth.ini
,and write your student number and password into this file.
python3 main.py
python.exe main.py
.
|_ docs
|_ archives
|_ src
The project is open sourced under the MIT License.