mexbt-ruby:用于Mexbt交换API的轻量级ruby客户端

时间:2021-05-16 18:43:11
【文件属性】:
文件名称:mexbt-ruby:用于Mexbt交换API的轻量级ruby客户端
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-16 18:43:11
Ruby MexbtRubyAPI客户端 这是用于交换API的轻量级ruby客户端。 它不会尝试对来自API的JSON响应做任何聪明的事情,它只是按原样返回它。 安装 如果仅使用捆绑程序,则将其添加到您的Gemfile中: gem 'mexbt' 当然运行bundle install 。 Ruby版本 您需要使用Ruby 2.1.2或更高版本。 公开API 您可以使用零配置访问所有Public API函数。 默认情况下,他们将使用“ BTCMXN”货币对。 Mexbt . ticker Mexbt . order_book Mexbt . trades ( start_index : - 1 , count : 20 ) Mexbt . trades_by_date ( from : Date . civil ( 2014 , 11 , 1 ) . to_time . to_i , to
【文件预览】:
mexbt-ruby-master
----.travis.yml(47B)
----Rakefile(118B)
----mexbt.gemspec(1KB)
----Gemfile(37B)
----.rspec(30B)
----spec()
--------public_api_spec.rb(4KB)
--------spec_helper.rb(459B)
--------private_api_spec.rb(4KB)
----.gitignore(12B)
----CHANGELOG.md(261B)
----lib()
--------mexbt.rb(401B)
--------mexbt()
----README.md(4KB)
----LICENSE.txt(1KB)

网友评论