From 537d044b73d277c5326d143a55ca57a233786af0 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Thu, 21 Oct 2021 23:03:47 +0800 Subject: Basic interfacing with jForm API Retrieve unread answer sheets from jForm. --- jimbrella/config.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'jimbrella/config.py') 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" -- cgit v1.2.3