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-3.2.0.tar.gz (7.9 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.2.0-py3-none-any.whl (7.9 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_binsearch-3.2.0.tar.gz
Algorithm Hash digest
SHA256 30de4cb02ebdfd245cfc152b7c4b3740daa64a54ec508fe912984e431755dae7
MD5 e55d5ce52d0cc1dcd4cd25cc7eef98c7
BLAKE2b-256 2ae2e6043304775c99381ecae8b90b8bc16d62f53a3e3a02349580b8e8fdc7da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_binsearch-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 349e3f9aef727bbb1ef9bcd811ce462eb105d0eb748b19d8bc62ce5b8d2f0939
MD5 4fbe6ca190aee18f5f79f7a755b4b0af
BLAKE2b-256 5c21730c626779a42d6816a333daae82a4acc04352e0d8e704038470af23f9b8

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