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秘钥

[!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-2.0.1.tar.gz (20.3 kB 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-2.0.1-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_binsearch-2.0.1.tar.gz
Algorithm Hash digest
SHA256 ac10e7af8103fa5254df924e08848ba1e0b910c65c52356cf2b84c4fe4cb9203
MD5 3fc49dfe8106bda9726c0e26e4818e1d
BLAKE2b-256 1a79255e0dfbf87a6abe829f55493b53a65eb1f4e1de85177e1e9e5a0c65a2c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_binsearch-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b07b9dc466416c47748388f13d60c710ebc662aac28ba347d4459109b23287f6
MD5 854a176a6e46f20297a4008cc4139e2b
BLAKE2b-256 11f29432f4b0e5fb76250e0f437ec80f926b62cff7ee080bdfbdad69847a1e77

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