Skip to content

Commit abe9679

Browse files
committed
docs: simplify SDK quickstarts
1 parent 00ae003 commit abe9679

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,7 @@ try
2626
{
2727
var result = await client.Misc.getMiscHotboardAsync(new Dictionary<string, object?>
2828
{
29-
["type"] = "weibo",
30-
["time"] = 0,
31-
["keyword"] = "",
32-
["time_start"] = 0,
33-
["time_end"] = 0,
34-
["limit"] = 0,
35-
["sources"] = false
29+
["type"] = "weibo"
3630
});
3731
Console.WriteLine($"Response: {result}");
3832
}
@@ -46,6 +40,8 @@ catch (Exception ex)
4640
}
4741
```
4842

43+
这个接口默认只要传 `type` 就可以拿当前热榜。`time`、`keyword`、`time_start`、`time_end`、`limit`、`sources` 都是按场景再传的可选参数。
44+
4945
## 特性
5046

5147
现在你不再需要反反复复的查阅文档了。

0 commit comments

Comments
 (0)