Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
taobao open ruby sdk
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.rdoc
api.rb
base.rb
base_request.rb
base_setting.rb
exception.rb
http_request.rb

README.rdoc

淘宝开放平台 ruby sdk 2.0-pre

* 淘宝开放平台ruby版sdk。

如何使用?

* 请自行安装好ruby环境 * 安装Crack, 位于github.com/jnunemaker/crack * 在设置 base_setting.rb 中,设定你所申请的APP_KEY及APP_SECRET * 使用 include Elvuel::OpenTaobao * 添加所需要使用的开放平台api到api.rb文件中(请参照已有示例,另外 params中 *字符为必需项 !字符为上传)

示例

* include Elvuel::OpenTaobao Base::Setting.app_env = “production” Base::Setting.app_type = “client”

… req = TBTaobaokeItemsGet.new req.fields = “nick” req.keyword = “iphone” req.nick = “elvuel” req.area = “上海” req.start_credit = “4diamond” req.end_credit = “5goldencrown” req.send_request …

LICENSE:

The same license as Ruby. * Currently no support, no warranty *.

AUTHOR:

Elvuel, elvuel@gmail.com

Something went wrong with that request. Please try again.