Skip to main content

一个Nonebot2插件用于查询各大银行的货币汇率

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-exrate

✨ 一个Nonebot2插件用于查询各大银行的货币汇率✨

license pypi python

📖 介绍

一个Nonebot2插件用于查询各大银行的货币汇率

💿 安装

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

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

plugins = ["nonebot_plugin_exrate"]

⚙️ 配置

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

配置项 必填 默认值 说明
exrate_appcode 你的汇率查询appcode秘钥

[!NOTE]

🔑 如何获取API Key?

前往以下页面申请API Key: 申请页面

🎉 使用

指令表

指令 权限 需要@ 范围 说明
ex [银行代码] 群员 全局 查询对应银行汇率

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_exrate-1.0.1.tar.gz (3.9 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_exrate-1.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_exrate-1.0.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_exrate-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nonebot_plugin_exrate-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2c28b139a156124b4552013e0fb330ffd02783954dec78b029c6bbf47eebc797
MD5 9ad7f6d5c770078ab505d1901ef6182a
BLAKE2b-256 f473849fd69662ee8eb2247d102b82b8262c711c711e06c729dd6f3274ad37c7

See more details on using hashes here.

File details

Details for the file nonebot_plugin_exrate-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_exrate-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ed9390fd6bbf9bcf1dc6c757e0cb7798cfe9498425213c08fe89aabc957c4ec
MD5 5ef26c20a38aa7fb6fd1bcdedf76f4b8
BLAKE2b-256 a67c6830fc475c591990d9f7c176048799b31def708a4935b06cd143cf1e4dda

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