官方的 Hydrobotsclub api 包装器
项目描述
hbcapi
描述
这是 Hydrobots.club 的官方 api 包装器
导入和定义
进口
点安装 hbcapi
在代码中定义库
import hbcapi
HBC = hbcapi.access("auth_token")
方法
邮政统计
发布您的机器人的服务器计数
print(HBC.poststats(guild, shard)) #guild - the guildcount of the bot shard-the shard count of the bot, print the response
选民
获取为您的机器人投票的所有选民的数组
print(HBC.poststats()) #print the response