返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Open Exchange Rate

获取实时汇率和货币转换,使用免费的公开 ExchangeRate-API,无需 API 密钥,用于用户询问当前汇率时

person作者: alone86136hubclawhub

open-exchange-rate

Overview

A simple skill for getting real-time exchange rate information and performing currency conversion using the public ExchangeRate-API. No API key required for requests.

Features

  • Get latest exchange rates: Retrieve up-to-date exchange rates for all currencies
  • Currency conversion: Convert an amount from one currency to another
  • List all available currencies: Show a complete list of supported currency codes

Usage

Get latest rates for base currency

python3 scripts/get_rates.py --base USD

Convert currency

python3 scripts/convert.py --from USD --to EUR --amount 100

List all available currencies

python3 scripts/list_currencies.py

Resources

scripts/

  • get_rates.py - Get latest exchange rates with optional base currency
  • convert.py - Convert amount between two currencies
  • list_currencies.py - List all available currency codes and names