Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

afq984/ilms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

iLMS TA script

Login

Using username and password

from ilms import ILMS
ilms = ILMS.login('108062999', 'pa55w0rd', course=40596)

course is the courseID which appears on the URL of the course page.

Using an existing session

import requests
from ilms import ILMS
s = requests.Session()
s.cookies['PHPSESSID'] = 'qF7P5Zj80sONYH5KQmVwR1Hk8t'
ilms = ILMS(s, course=40596)

You can get the PHPSESSID cookie from browser developer tools.

As a security note, plain text PHPSESSIDs are as bad as plain text passwords.

Features

  • Set homework score
  • Send emails one by one

About

TA utilities for NTHU iLMS (http://lms.nthu.edu.tw)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages