Skip to main content

官方的 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

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

hbcapi-0.2.1.tar.gz (2.2 kB 查看哈希

已上传 source