jinshuju.cr

金数据接口库,Crystal Lang

金数据接口

与金数据对接数据接口,官方文档请查阅 https://help.jinshuju.net/articles/api-intro

安装

  1. 在你的 shard.yml 中增加依赖:

    dependencies:
      jinshuju:
        github: your-github-user/jinshuju
    
  2. 运行 shards install

使用

require "jinshuju"

api = Jinshuju::API.new(host: "somedomain.jinshuju.com", key: "apikey", secret: "apisecret")
puts api.all_entries("Ex2t1y")

贡献

  1. Fork it (https://github.com/your-github-user/jinshuju/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

贡献者

Owner
github statistic
  • 0
  • 0
  • 0
  • 0
  • 9 months ago
  • July 10, 2020
License

MIT License

Links
Synced at

Tue, 20 Apr 2021 04:17:20 GMT