searchbing 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/lib/searchbing.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Example: Interactive Ruby Shell
|
|
26
26
|
require the gem in your shell session
|
27
27
|
|
28
28
|
require 'searchbing'
|
29
|
-
create a new search object,
|
29
|
+
create a new search object, below 10 results are requested, you can retrieve up to 50 at a time
|
30
30
|
|
31
31
|
bing_image = Bing.new('your_account_key_goes_here', 10, 'Image')
|
32
32
|
retrieve the results for a given term
|
data/lib/searchbing.rb
CHANGED
@@ -25,7 +25,7 @@ class Bing
|
|
25
25
|
attr_accessor :account_key, :num_results, :type
|
26
26
|
|
27
27
|
# Search for a term, the result is an array of hashes with the result data
|
28
|
-
# >> bing_image.search("puffin", 25)
|
28
|
+
# >> bing_image.search("puffin", 25)
|
29
29
|
# => [{"__metadata"=>{"uri"=>"https://api.datamarket.azure.com/Data.ashx/Bing/Search/Image?Query='puffin'&$skip=25&$top=1", "type"=>"Image
|
30
30
|
# Arguments:
|
31
31
|
# search_term: (String)
|