goodreads:Goodreads API包装器

时间:2021-05-14 15:17:56
【文件属性】:
文件名称:goodreads:Goodreads API包装器
文件大小:115KB
文件格式:ZIP
更新时间:2021-05-14 15:17:56
Ruby 好读 Ruby包装器,用于与Goodreads API进行通信。 注意:Goodreads API。 要求 Ruby 1.9.3+ 安装 使用rubygems安装gem: gem install goodreads 或手动: rake install 入门 在使用Goodreads API之前,您必须创建一个新的应用程序。 请访问获取详细信息。 设置客户端: client = Goodreads :: Client . new ( api_key : "KEY" , api_secret : "SECRET" ) client = Goodreads . new ( api_key : "KEY" ) # short version 全局配置 您可以在全局级别上定义客户端凭据。 只需在config/initializers下创建一个初始化文件(如果使用rails): Goo
【文件预览】:
goodreads-master
----lib()
--------goodreads.rb(856B)
--------goodreads()
----Gemfile(39B)
----spec()
--------fixtures()
--------spec_helper.rb(788B)
--------client_spec.rb(18KB)
--------authentication_spec.rb(965B)
--------goodreads_spec.rb(2KB)
----Rakefile(194B)
----examples()
--------oauth.md(1KB)
----.travis.yml(84B)
----goodreads.gemspec(1KB)
----LICENSE(1KB)
----README.md(5KB)
----.rubocop.yml(110B)
----.rspec(42B)
----.gitignore(197B)

网友评论