summaryrefslogtreecommitdiff
path: root/jimbrella/config.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-21 23:03:47 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-21 23:05:10 +0800
commit537d044b73d277c5326d143a55ca57a233786af0 (patch)
treed514bb9301413b09fe55ddc95f0617d9601a578e /jimbrella/config.py
parent76f57379d1e32ff9cc7880c23108dab9a4df11bf (diff)
Basic interfacing with jForm API
Retrieve unread answer sheets from jForm.
Diffstat (limited to 'jimbrella/config.py')
-rw-r--r--jimbrella/config.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/jimbrella/config.py b/jimbrella/config.py
index 26111f1..1bde65b 100644
--- a/jimbrella/config.py
+++ b/jimbrella/config.py
@@ -1,3 +1,12 @@
+# jForm
+JFORM_TAKEAWAY_URL = (
+ "https://wj.sjtu.edu.cn/api/v1/public/export/900e25bf6a039da04da7c5165a7cd41a/json"
+)
+# JFORM_GIVEBACK_URL= (
+# "https://wj.sjtu.edu.cn/api/v1/public/export/900e25bf6a039da04da7c5165a7cd41a/json"
+# )
+JFORM_CHECKPOINTS_PATH = "/home/fkfd/p/jimbrella/jform"
+
# database
DATABASE_PATH = "/home/fkfd/p/jimbrella/jimbrella.db.csv"