【文件属性】:
文件名称:pinterest-api:Ruby gem与正式的Pinterest REST API交互
文件大小:106KB
文件格式:ZIP
更新时间:2021-03-04 02:35:10
Ruby
Pinterest
这是用于与官方进行交互的Ruby宝石。
该gem使用Faraday和Hashie发出请求并解析响应。
经过测试,可帮助商人销售更多商品。
用法
从Pinterest获取访问令牌。 您可以生成一个。
$ gem install pinterest-api
require 'pinterest-api'
client = Pinterest :: Client . new ( ACCESS_TOKEN )
# Get the authenticated user's Pinterest account info
client . me
# Get the pins that the authenticated user likes
client . get_likes
# Get the authenticated user's followers
client
【文件预览】:
pinterest-api-master
----.gitignore(110B)
----pinterest.gemspec(1KB)
----.rspec(31B)
----bin()
--------setup(115B)
--------console(334B)
----.travis.yml(76B)
----LICENSE(1KB)
----spec()
--------client()
--------omniauth_spec.rb(637B)
--------pinterest_spec.rb(704B)
--------spec_helper.rb(484B)
--------fixtures()
----README.md(4KB)
----lib()
--------pinterest-api.rb(107B)
--------pinterest()
----Gemfile(94B)
----Rakefile(117B)