Usage¶
To start using Gehu_erp, follow these steps:
Import the library:
import erp
Create a client instance:
–use_config in Client to save you login details so that you won’t have to login again and again
client = erp.Client(use_config=True)
Generate session and log in:
user = "your_username"
password = "your_password"
client.login(user, password)
Perform various actions using the library’s functions. For example:
Retrieve student details:
data = client.student_info() print(data)
Get exam summaries:
exam_summary = client.exam_Summary() print(exam_summary)