MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getPoints

Method getPoints

wxapp/wugenvboshi.js:230–235  ·  view source on GitHub ↗
(label = "积分")

Source from the content-addressed store, hash-verified

228 }
229
230 async getPoints(label = "积分") {
231 const data = await this.request({ apiPath: "wscump/integral/user_points.json" });
232 const points = data?.current_points ?? data?.real_points ?? data?.total_points ?? "未知";
233 $.log(`账号[${this.index}] ${label}: ${points}积分`);
234 return data;
235 }
236
237 async getCheckinInfo() {
238 const data = await this.request({ apiPath: "wscump/checkin/show_checkin_page_v2.json" });

Callers 2

runMethod · 0.95
checkTokenMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected