Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FarmerChillax authored Oct 24, 2024
1 parent 8cdef67 commit 1dfa945
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down

0 comments on commit 1dfa945

Please sign in to comment.