跳转到主要内容

未提供项目描述

项目描述

Fast Rates的命令行界面(点击访问)

安装 :pushpin

pip install fastrates


Successfully installed fastrates-cli-0.1.0

如何使用? :rocket

Options:
  --base TEXT             Base ticker for currency  [default: EUR]
  --latest / --no-latest  Get the latest foreign exchange reference rates
                          [default: False]

  --start-at TEXT         Get historical rates for any day since start_at
  --end-at TEXT           Get historical rates for any day till end_at
  --symbols TEXT          Compare specific exchange rates
  --date TEXT             Get historical date
  --help                  Show this message and exit.
  • 示例

fastrates --latest

这将返回

{
    "rates":{
        "2020-07-31":{
            "AUD":1.6488,
            "BGN":1.9558,
            "BRL":6.1219,
            "CAD":1.5898,
            "CZK":26.175,
            "DKK":7.4442,
            "GBP":0.90053,
            "TRY":8.2595,
            "USD":1.1848,
        }
    },
    "base":"EUR"
}

发行说明 :mega

最新更改

0.1.0

  • 项目原型

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

fastrates-cli-0.1.1.tar.gz (2.4 kB 查看哈希值)

上传时间:

构建分布

fastrates_cli-0.1.1-py3-none-any.whl (2.8 kB 查看哈希值)

上传时间: Python 3

支持