Module: LeBonCoin

Defined in:
lib/leboncoin.rb,
lib/leboncoin/items.rb,
lib/leboncoin/search.rb,
lib/leboncoin/htmlutils.rb

Defined Under Namespace

Modules: HTMLUtils, Search

Constant Summary collapse

VERSION =
'0.0.4'

Class Method Summary collapse

Class Method Details

.Search(keywords, size = 10) ⇒ Object



7
8
9
# File 'lib/leboncoin.rb', line 7

def Search keywords, size = 10
  LeBonCoin::Search.parseItems "http://www.Leboncoin.fr/occasions/?f=a&th=1&q=" + keywords, size
end