oodle 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.markdown +7 -3
  2. metadata +3 -3
data/README.markdown CHANGED
@@ -21,9 +21,13 @@ key](http://developer.oodle.com/request-api-key) to get started.
21
21
 
22
22
  oodle = Oodle::API.new(API_KEY, :v2)
23
23
  oodle.region = 'chicago'
24
- oodle.category = 'personals'
25
- oodle.fetch_listings(:json)['listings'][0]['body']
26
- oodle.fetch_listings['listings'][1]['body']
24
+ oodle.category = 'sale'
25
+ oodle.num = '15'
26
+ oodle.sort = 'ctime_reverse'
27
+ results = oodle.fetch_listings(:json)
28
+ num = results['current']['num']
29
+ listings = results['listings']
30
+ (0..num-1).each { |i| p listings[i]['title'] }
27
31
 
28
32
  ## Dependencies
29
33
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristan 'Krispy' Uccello
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-03-18 00:00:00 -04:00
18
+ date: 2010-04-05 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency