为从Plexi开发机器人API获取数据而构建的包!

PlexiFetch的Python项目详细描述


PlexiFetch

PopiFiTh是Python模块,用于为Sopi开发BOT API提供的数据提供更方便的访问!它有一些有用的功能,你可以使用。

机器人对象

函数

MethodDescriptionReturns
get_bot()Gets all the bot's dataDictionary
get_prefix()Gets a bot's prefixString
get_owner()Gets a bot's ownerDictionary
get_status()Gets a bot's approval statusString
get_ids()Gets a bot's and it's owner's IDDictionary
get_display_names()Gets the display names of the bot and ownerDictionary

示例

data = PlexiFetch.Bot(bot_id)
bot_data = data.get_bot()["Bot"]
bot_owner = data.get_owner()["Owner"]
bot_prefix = data.get_prefix()
bot_status = data.get_status()

开发对象

函数

MethodDescriptionReturns
get_bots()Gets all a user's botsDictionary of Lists of Dictionaries
bot_count()Returns a user's bot countInteger
get_prefixs()Gets the prefix of all a user's botsList of Dictionaries
get_ids()Returns the ID of all a user's botsList of Dictionaries

示例

data = PlexiFetch.Dev(owner_id)
owners_bots = data.get_bots()
bot_count = data.bot_count()
bots_prefixs = data.get_prefixs()
bots_ids = data.get_ids()

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
反射Java反射:高负载下的NoSuchMethodException   java RxJava:one request>list of Integer>sequence of requests for each int>result to list   java为什么循环之前索引会增加   JavaSpring远程处理和RESTfulURL   java Hibernate搜索仅对我的实体的一部分进行索引   使用DPAD快速滚动时,java RecyclerView onCreateViewHolder调用过多   java将JSON解析到一个表中   java导航抽屉标题textview nullpointerexception   基于接口的Java链接队列   java Guice运行时依赖项参数重新注入   java展平/压缩ZSH中的深度嵌套目录   JavaSpring:Http406此请求标识的资源只能   java如何制作Android启动器图标   Java代码在windows上显示不正确(包含希腊语句子)   使用yourkit进行内存分析所用的java时间   java为什么可以序列化属性而不能序列化对象本身?