Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Ruby client for Brocade.io - a free and open product database
Add this line to your application’s Gemfile:
gem 'brocade_io'
Create a client
brocade_io = BrocadeIo.new
Get an item
item = brocade_io.item("013562610020") # or nil if not found
item.gtin14
item.brand_name
item.name
item.size
Create or update an item
brocade_io.update_item("000000000000", {name: "Test"})
List items
brocade_io.items
Returns the first 100 items.
To get all items, use:
brocade_io.paginated_items do |item|
item.gtin14
end
Search items
brocade_io.items(query: "peanut butter")
Add an image (NB not currently supported)
image = Faraday::UploadIO.new("ice_cream.jpg", "image/jpeg")
image_type = "scan" # or "photo"
brocade_io.add_image("000000000000", image, image_type)
Everyone is encouraged to help improve this project. Here are a few ways you can help:
FAQs
Unknown package
We found that brocade_io demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.