【文件属性】:
文件名称:rHAPI:HubSpot API(HAPI)的Ruby包装器
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-18 04:24:59
Ruby
RHapi(Ruby HubSpot API包装器)
RHapi是HubSpot API(HAPI)的Ruby包装器。
去做:
添加方法以创建新的销售线索。
构建Blogs API的方法。
编写文档。
使用RHapi
如果使用RVM,请安装。
gem install r_hapi
如果没有,您可能需要这样做:
sudo gem install r_hapi
首先,将RHapi配置为与Hubspot API密钥或oAuth访问令牌配合使用。
RHapi.configure do |config|
config.api_key = "YOUR_API_KEY"
config.access_token = "YOUR_ACCESS_TOKEN" # Takes precedence over api_key
end
联系人API示例
RHapi现在支持所有Hubsp
【文件预览】:
rHAPI-master
----.gitignore(207B)
----spec()
--------config.yml.sample(53B)
--------spec_helper.rb(2KB)
--------configuration_spec.rb(946B)
--------lead_spec.rb(5KB)
--------r_hapi_spec.rb(92B)
--------fixtures()
----README.md(9KB)
----VERSION(6B)
----lib()
--------r_hapi()
--------r_hapi.rb(308B)
----Gemfile(439B)
----Rakefile(2KB)
----r_hapi.gemspec(3KB)
----Gemfile.lock(1KB)