Skip to content

abevoelker/buds_gun_shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buds_gun_shop

Build Status

Basic API for accessing http://www.budsgunshop.com

Examples

require 'buds_gun_shop'
rate_limit = Celluloid::RateLimiter.new(10, 1)
Celluloid::Actor[:buds_gun_shop_agent] = BudsGunShop::Agent.new(rate_limit)

root_categories = BudsGunShop::Category.all
all_categories = BudsGunShop::Category.all_flattened
rifles = BudsGunShop::Category.find(36)

nugget = Celluloid::Actor[:buds_gun_shop_agent].product.find(411540200)
all_products = all_categories.map(&:products).flatten

manufacturers = Celluloid::Actor[:buds_gun_shop_agent].manufacturer.all

Releases

No releases published

Packages

No packages published

Languages