https://github.com/tootouch/hackers-assistant
Automatic program for updating comments in boards using python and notion for Hackers Assistance
https://github.com/tootouch/hackers-assistant
Last synced: 16 days ago
JSON representation
Automatic program for updating comments in boards using python and notion for Hackers Assistance
- Host: GitHub
- URL: https://github.com/tootouch/hackers-assistant
- Owner: TooTouch
- Created: 2020-07-23T08:02:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-28T09:29:18.000Z (almost 6 years ago)
- Last Synced: 2025-01-11T20:44:26.514Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hackers Assistance
This is a repository for automatic programs helped work easily when I worked as hackers assistant in Hackers. I can save a lot of time that spent on other important matters through this repo. Program list is as follows.
1. Update the number of student applied classes
2. Check students' comments
**Requirements**
- Hackers assistance ID and PASSWORD
https://www.hackers.ac/teachers/index.php
- Notion page url and token_v2
[How to get token_v2](https://github.com/TooTouch/notionist)
# 1. Update the number of student applied classes
**Run**
```bash
python students.py --id=YOUR_ID --pwd=YOUR_PASSWORD
```
**Result**
- students.csv
Features | Description
---|---
title | class name (group)
name | class name (full)
class_time | class time
onoff | 1. on-line 2. off-line
nb_students | the number of student
- students_stat.csv
- Getting sum of the number of student by title in students.csv
Features | Description
---|---
title | class name (group)
class_time | class time
nb_students | the number of student
# 2. Check students' comments
**Run**
I use github action which runs periodically comments.py. If you want to know how to set options, you can see [here](https://github.com/TooTouch/Hackers-Assistance/blob/master/.github/workflows/python-package.yml).
**Result**
- Dataframe Description
Features | Description
---|---
title | post title
name | publisher name
category | 1. teacher 2. student
class_name | class name (full-name)
date | published date
nb_comment | the number of comment
url | post url
- Notion Collection(Table)
