shipping-forecast:以编程方式获取 BBC 的航运预测

时间:2021-05-31 10:50:07
【文件属性】:
文件名称:shipping-forecast:以编程方式获取 BBC 的航运预测
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-31 10:50:07
Ruby 航运预测 这是一个用于访问 BBC 公共的 Ruby 库。 用法 安装宝石。 你可以从 RubyGems 得到一个: gem install shipping-forecast 它使用。 API 很简单。 您可以使用[]符号来查找位置(如“Viking”或“Plymouth”)并获得预测报告: require 'shipping_forecast' viking = ShippingForecast [ "Viking" ] => { :warning => nil , :location => "Viking" , :wind => "Variable 3 or 4 until later in west, otherwise southerly 4 or 5." , :seas => "Slight or moderate." , :weather => "Occasiona
【文件预览】:
shipping-forecast-master
----lib()
--------shipping_forecast.rb(4KB)
----Gemfile(38B)
----Rakefile(111B)
----LICENSE(1KB)
----test()
--------test.rb(3KB)
----README.md(3KB)
----shipping-forecast.gemspec(364B)
----.gitignore(13B)
----bin()
--------forecast(1KB)

网友评论