一个Nonebot2插件用于查询信用卡的卡组织,卡等级,卡类型,发卡国等
Project description
📖 介绍
一个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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_binsearch-2.1.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_binsearch-2.1.0.tar.gz
- Upload date:
- Size: 6.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8598bb92695177cf7c19d886edb26f1b903a7baea0eadd16aaa7c8f4a9e9b12
|
|
| MD5 |
34e4a436a3c17035dac3b9dc489a8976
|
|
| BLAKE2b-256 |
1bcfb6aff91b71ecbd3df131e13543e4a027ba4f409bfe9aaa6e3c8504ee795b
|
File details
Details for the file nonebot_plugin_binsearch-2.1.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_binsearch-2.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ab2f8bc1e948e57f968109587593a647cb19af49caaf198ad9e496f98de10ad
|
|
| MD5 |
68d2cee3608ca46fedea70b07983f820
|
|
| BLAKE2b-256 |
bfd82f75d8e8730d6fb2c09c6b406db2b375162a424bd63808db264e09357691
|