Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datakick

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datakick

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Datakick

Ruby client for Datakick - the open product database

Get Started

Add this line to your application’s Gemfile:

gem 'datakick'

Create a client

datakick = Datakick.new

Get an item

item = datakick.item("013562610020") # or nil if not found
item.gtin14
item.brand_name
item.name
item.size

Create or update an item

datakick.update_item("000000000000", {name: "Test"})

List items

datakick.items

Returns the first 100 items.

To get all items, use:

datakick.paginated_items do |item|
  item.gtin14
end

Search items

datakick.items(query: "peanut butter")

Add an image

image = Faraday::UploadIO.new("ice_cream.jpg", "image/jpeg")
image_type = "scan" # or "photo"
datakick.add_image("000000000000", image, image_type)

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

FAQs

Package last updated on 03 Mar 2014

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc