MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / params

Method params

app/src/main/java/com/github/catvod/bean/alist/Drive.java:139–153  ·  view source on GitHub ↗
(String keyword)

Source from the content-addressed store, hash-verified

137 }
138
139 public String params(String keyword) {
140 if (isNew()) {
141 Map<String, Object> params = new HashMap<>();
142 params.put("keywords", keyword);
143 params.put("page", 1);
144 params.put("parent", "/");
145 params.put("per_page", 100);
146 return new Gson().toJson(params);
147 } else {
148 Map<String, Object> params = new HashMap<>();
149 params.put("keyword", keyword);
150 params.put("path", "/");
151 return new Gson().toJson(params);
152 }
153 }
154
155 public HashMap<String, String> getHeader() {
156 HashMap<String, String> headers = new HashMap<>();

Callers 1

callMethod · 0.80

Calls 2

isNewMethod · 0.95
putMethod · 0.80

Tested by

no test coverage detected