https://github.com/h2owater425/python-comcigan
Comcigan api for Python
https://github.com/h2owater425/python-comcigan
Last synced: 3 months ago
JSON representation
Comcigan api for Python
- Host: GitHub
- URL: https://github.com/h2owater425/python-comcigan
- Owner: H2Owater425
- License: mit
- Created: 2021-10-19T15:13:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-20T05:05:11.000Z (over 3 years ago)
- Last Synced: 2025-01-19T11:48:45.254Z (4 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Comcigan api for Python
Hello school!
[](https://pypi.org/project/python-comcigan/)
[](https://pypi.org/project/python-comcigan/)
[](https://github.com/H2Owater425/python-comcigan/blob/main/LICENSE)
## Installation
```bash
$ pip install python-comcigan
```## Features
- Get timetable
- Get subjects
- Get homeroom teachers
- Get teachers
- Get classCountWithout any dependencies!
## Usage/Examples
setup for `신흥중학교` in `경기`:
```python
from comcigan import Comcigancomcigan: Comcigan = Comcigan(schoolName='신흥중학교', schoolRegion='경기')
```synchronizing data with comcigan site:
```python
comcigan.synchronize()
```printing `first period` of class `3-1` on `monday`:
```python
print(comcigan.getPeriods()[2][0][0][0])
```printing homeroom teacher of `2-1`:
```python
print(comcigan.getHomeroomTeachers()[1][0])
```printing period starting time of `sixth period`:
```python
print(comcigan.getPeriodStartingTimes()[5])
```