uwaterlooapi:滑铁卢大学OpenData API的RubyGem包装器

时间:2021-05-02 15:21:22
【文件属性】:
文件名称:uwaterlooapi:滑铁卢大学OpenData API的RubyGem包装器
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-02 15:21:22
Ruby Uwaterlooapi 滑铁卢大学OpenData API的RubyGem包装器 安装 将此行添加到您的应用程序的Gemfile中: gem 'uwaterlooapi' 然后运行: $ bundle 用法 要使用此gem,您必须首先从获得API密钥。 # Require the gem at the top of your ruby file require 'uwaterlooapi' # Initialize a new instance of the UWaterlooAPI api = UWaterlooAPI . new '' # Store an API query into a variable current_weather = api . weather . current # '/weather/curren
【文件预览】:
uwaterlooapi-master
----.travis.yml(61B)
----uwaterlooapi.gemspec(1KB)
----Rakefile(175B)
----Gemfile(106B)
----.rspec(26B)
----spec()
--------uwaterlooapi_spec.rb(12KB)
--------responses()
--------spec_helper.rb(996B)
----.gitignore(118B)
----lib()
--------uwaterlooapi()
--------uwaterlooapi.rb(479B)
----README.md(2KB)

网友评论