NTHU-SA / NTHU-Data-API

This is a project for NTHU students to get data from NTHU website.
https://api.nthusa.tw/docs
MIT License
12 stars 4 forks source link
nthu

NTHU-Data-API

NTHU-Data-API is a project designed for NTHU developers.
It provides an easy way to fetch data from the NTHU website.

Codefactor Score Code style: black Test Coverage
Lines of Code Technical Debt

Introduction

NTHU-Data-API is a project designed for NTHU developers. It provides an easy way to fetch data from the NTHU website.

Getting Started

Prerequisites

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.

Installation

  1. Clone the repository:
    git clone https://github.com/NTHU-SA/NTHU-Data-API.git
  2. Navigate to the project directory:
    cd NTHU-Data-API
  3. Install the required dependencies:
    pip3 install -r requirements.txt

    Configuration

    Copy the environment template file and fill in your details:

    cp .env.template .env

    Running the Application

    python3 main.py

Contributing

We follow certain guidelines for contributing. Here are the types of commits we accept:

pre-commit

  1. Before committing, use pre-commit to ensure the format.
    pip3 install -r requirements-dev.txt
  2. Install pre-commit.
    pre-commit install

Credit

This project is maintained by NTHUSA 32nd.

License

This project is licensed under the MIT License.

Acknowledgements

Thanks to SonarCloud for providing code quality metrics:

SonarCloud