Foursquare:用于Foursquare API的简单Ruby Gem包装器

时间:2021-04-15 09:59:36
【文件属性】:
文件名称:Foursquare:用于Foursquare API的简单Ruby Gem包装器
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-15 09:59:36
Ruby 已弃用 该gem不再有用,因为它不支持Foursquare API 2.0。 请参考 四方 用于Foursquare API的简单Ruby Gem包装器。 使用OAuth身份验证。 安装 gem install foursquare 例如 require 'rubygems' require 'foursquare' oauth_key = 'your_key' oauth_secret = 'your_secret' oauth = Foursquare::OAuth.new(oauth_key, oauth_secret) request_token = oauth.request_token.token request_secret = oauth.request_token.secret # redirecting user to foursquare to autho
【文件预览】:
Foursquare-master
----.gitignore(0B)
----History(546B)
----website()
--------index.html(4KB)
----script()
--------generate(370B)
--------destroy(368B)
----spec()
--------foursquare_spec.rb(135B)
--------spec_helper.rb(69B)
----README.rdoc(4KB)
----lib()
--------foursquare.rb(6KB)
----foursquare.gemspec(2KB)
----Rakefile(1KB)

网友评论