Socket
Book a DemoInstallSign in
Socket

yibs_commission_junction

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yibs_commission_junction

1.2.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

= commission_junction

Ruby wrapper for the Commission Junction product catalog search service API v2 (REST)

== Installation

sudo gem install commission_junction

== Example

require 'rubygems' require 'commission_junction'

See https://api.cj.com/sign_up.cj

DEVELOPER_KEY = '????????'

See cj.com > Account > Web site Settings > PID

WEBSITE_ID = '????????'

cj = CommissionJunction.new(DEVELOPER_KEY, WEBSITE_ID)

See http://help.cj.com/en/web_services/product_catalog_search_service_rest.htm

for the list of request and response parameters.

cj.product_search('keywords' => '+blue +jeans', 'advertiser-ids' => 'joined', 'serviceable-area' => 'us', 'currency' => 'usd', 'records-per-page' => '5').each do |product| puts product.name puts product.price puts product.image_url puts '' end

== Dependencies

  • httparty

== Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with Rakefile, VERSION, or history (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull).
  • Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2010 Albert Vernon. See LICENSE for details.

FAQs

Package last updated on 01 Sep 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.