
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
= Classifieds API
== Description
This premature gem allows one to search items on Kijiji using search filters.
The gem is currently in development for more features.
If you would like a feature to be added to the upcoming features, please email me at jbisson@uwaterloo.ca
View the complete documentation at: https://github.com/jfbisson4/classifieds_api/wiki
== Installation
gem install classifieds_api
== Requirements
Ruby 2.0 or higher
Nokogiri version ~> 1.6
Open-Uri version ~> 2.0
== Example
Search for 5 ads using the keyword 'computers' over $500 in the Toronto (GTA) region. Print the results.
require 'classifieds_api' require 'nokogiri' require 'open-uri'
filters = ClassifiedsApi::SearchFilters.new(location: 'Toronto (GTA)') kijiji_session = ClassifiedsApi::Kijiji.new
filters.price_minimum = 500
keyword = 'computers' search_limit = 5
ads = kijiji_session.search(keyword, search_limit, filters)
ads.each { |ad| ad.print_ad }
FAQs
Unknown package
We found that classifieds_api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.