Skip to content

Commit e2e067a

Browse files
committed
Update README.md
1 parent a26df87 commit e2e067a

File tree

1 file changed

+29
-11
lines changed

1 file changed

+29
-11
lines changed

README.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,35 @@ The Cookie items mentioned in the table below refer to the **LEETCODE_SESSION**
9797
$Leetcode.getUserStatus()
9898
```
9999

100-
| ITEM | VALUE |
101-
| :--------: | :-------------------------------: |
102-
| Type | POST |
103-
| Parameters | NULL |
104-
| URL | `https://leetcode-cn.com/graphql` |
100+
请求数据项:
101+
Requested data item:
105102

106-
获取到的数据项:
103+
| Item | Value |
104+
| :--------: | :-----------------------------------------: |
105+
| Type | POST |
106+
| Parameters | NULL |
107+
| URL | `https://leetcode-cn.com/graphql` |
108+
| Require | Cookie Item [LEETCODE_SESSION, x-csrftoken] |
107109

108-
| | |
109-
| ---- | ---- |
110-
| | |
111-
| | |
112-
| | |
110+
获取到的数据项:
111+
Obtained data items:
112+
113+
| Key | Value | Describe |
114+
| :-------------------------: | :-----: | :-------------------------: |
115+
| commonNojPermissionTypes | Array | Unknow |
116+
| jobsMyCompany | Object | User company |
117+
| userStatus | Object | User status obj |
118+
| userStatus.avatar | String | User avatar |
119+
| userStatus.isAdmin | Boolean | User admin status |
120+
| userStatus.isPhoneVerified | Boolean | User phone verify status |
121+
| userStatus.isPremium | Boolean | User premium status |
122+
| userStatus.isSignedIn | Boolean | User sign status |
123+
| userStatus.isSuperuser | Boolean | User vip role status |
124+
| userStatus.isTranslator | Boolean | User translator role status |
125+
| userStatus.isVerified | Boolean | User verify status |
126+
| userStatus.premiumExpiredAt | Number | User premium expiration |
127+
| userStatus.realName | String | User detail name |
128+
| userStatus.useTranslation | Boolean | User translation status |
129+
| userStatus.userSlug | String | User using slug |
130+
| userStatus.username | String | User name |
113131

0 commit comments

Comments
 (0)