searchbing 0.2.2 → 0.2.3

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.md +4 -3
  2. metadata +1 -1
data/README.md CHANGED
@@ -41,9 +41,10 @@ or optionally specify an offset for your search, to start retrieving results fro
41
41
 
42
42
  bing_results = bing_image.search("puffin", 25)
43
43
 
44
- parse the results
44
+ parse the results(recent changes require parsing with symbols, also please note the data structure of the response coming from bing has also changed)
45
45
 
46
- puts bing_results[0]["Thumbnail"]["MediaUrl"] # puts url of thumbnail
47
- display the total number of rsults
46
+ puts bing_results[0][:Image][0][:MediaUrl]
47
+
48
+ display the total number of results
48
49
 
49
50
  puts bing_results[0]["ImageTotal"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchbing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: