NTHU-Data-API is a project designed for NTHU developers.
It provides an easy way to fetch data from the NTHU website.
NTHU-Data-API is a project designed for NTHU developers. It provides an easy way to fetch data from the NTHU website.
Ensure you have Python 3 installed on your machine. You can verify this by running python3 --version
in your terminal. If you don't have Python 3 installed, you can download it here.
- Clone the repository:
git clone https://github.com/NTHU-SA/NTHU-Data-API.git
- Navigate to the project directory:
cd NTHU-Data-API
- Install the required dependencies:
pip3 install -r requirements.txt
Copy the environment template file and fill in your details:
cp .env.template .env
python3 main.py
We follow certain guidelines for contributing. Here are the types of commits we accept:
- feat: Add or modify features.
- fix: Bug fixes.
- docs: Documentation changes.
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi colons, etc).
- refactor: Code changes that neither fixes a bug nor adds a feature.
- perf: Code changes that improve performance.
- test: Adding missing tests.
- chore: Changes to the build process or auxiliary tools and libraries.
- revert: Reverts a previous commit.
- Before committing, use
pre-commit
to ensure the format.
pip3 install -r requirements-dev.txt
- Install
pre-commit
.
pre-commit install
This project is maintained by NTHUSA 32nd.
This project is licensed under the MIT License.
Thanks to SonarCloud for providing code quality metrics: