searchbing 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -3
- 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
|
-
|
47
|
-
|
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"]
|