Skip to main content

一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-binsearch

✨ 一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等✨

license pypi python

📖 介绍

一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-binsearch
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-binsearch
pdm
pdm add nonebot-plugin-binsearch
poetry
poetry add nonebot-plugin-binsearch
conda
conda install nonebot-plugin-binsearch

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_binsearch"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
bin_api_key 你的bin查询api秘钥
ignore_user_ids [3938088854] 忽略查询的用户 ID 列表
bin_user_cooldown 10 单个用户查询冷却时间,单位秒;设为 0 可关闭
bin_group_cooldown 3 单个群查询冷却时间,单位秒;设为 0 可关闭

[!NOTE]

🔑 如何获取API Key?

前往以下页面申请API Key: 申请页面 每月限制查询 500 次,你可以通过多账号申请轮换API Key,以避免超出查询限制。

🎉 使用

指令表

指令 权限 需要@ 范围 说明
bin 6位bin 群员 全局 查询bin

TODO

  • 多API Key负载均衡
  • 查询速度限制
  • API响应缓存

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_binsearch-3.3.1.tar.gz (9.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_binsearch-3.3.1-py3-none-any.whl (9.4 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_binsearch-3.3.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_binsearch-3.3.1.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nonebot_plugin_binsearch-3.3.1.tar.gz
Algorithm Hash digest
SHA256 9f20778212486846bd6f7f8490d9bcaf960bb47a5b86a99bda6f10936541cbc9
MD5 b26efdf6b8d12d40667a51be944dc513
BLAKE2b-256 b3eddb97eb748925f290d625b83a547b03e0ff9569ed98a68b9bd257ce0d0738

See more details on using hashes here.

File details

Details for the file nonebot_plugin_binsearch-3.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_binsearch-3.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b443c639e5e1fd7d93f9d6f9956ef55abc7523672a822770dba7b9ec1eef94d4
MD5 342dfd53aa61a6e7331c18e025adedc5
BLAKE2b-256 7c9e95e9a602076c43d763d74c486fc6d62227019e8450a010279731e1ae5ea0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page