From 1dfa945727138b8c21b50c5d4cdcc8e1ee5374e5 Mon Sep 17 00:00:00 2001 From: "Farmer.Chillax" <48387781+FarmerChillax@users.noreply.github.com> Date: Thu, 24 Oct 2024 21:53:44 +0800 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index d585dda..60c7e3b 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,15 @@ $ pip install zf-school-sdk ```Python from school_sdk import SchoolClient +from school_sdk.client import UserClient # 先实例化一个学校,再实例化用户 school = SchoolClient("172.16.254.1") user:UserClient = school.user_login("2018xxxxx", "xxxxxxxx") course = user.get_schedule(year=2020, term=2) print(course) + + ``` 使用示例参见 [examples](examples/)