Downloading the project details as a table from the website National Taiwan University Accounting (NTUACC) system.
Note: In order to use this project, you need to be the project assistant of your organization
from ntuacc import NTUACC
bossid
: the id/account of your professor, doctoral advisor or bossassid
: the id/account of project assistantasspwd
: the password of project assistantproject_year
: the project year you want to download
salary_table = NTUACC("xxx", 'xxx', 'xxx', project_year=2021)
Download the table by using the .download_table()
method:
salary_table.download_table()
This prints:
黏存單號碼 | 計畫代碼 | 計畫名稱 | 計畫費用別 | 金額 | 申請日期 | 報帳類別 | 受款人 | 發票號碼 | 入帳日期 |
---|---|---|---|---|---|---|---|---|---|
110xxxx | xxx | xxx | 其他費用 | 100 | 1100801 | 計畫經費 | xxx | AB12345078 | 20210826 |
... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
Download the table as a CSV file by calling the .to_csv()
method:
salary_table.to_csv()
Download the table as a CSV file by calling the .to_pickle()
method:
salary_table.to_pickle()
If you have any suggestion or question, please do not hesitate to email me at r07142010@g.ntu.edu.tw