33
44![ serpapi ruby library logo] ( https://user-images.githubusercontent.com/78694043/235409962-7afe3a25-9272-4d56-9678-9972b771453b.png )
55
6- [ ![ Gem Version] ( https://badge.fury.io/rb/serpapi.svg )] ( https://badge.fury.io/rb/serpapi ) [ ![ serpapi-ruby] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml/badge.svg )] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml ) [ ![ serpapi-ruby-alternative ] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_alt.yml/badge.svg )] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_alt.yml ) [ ![ serpapi-ruby-sanity-1 ] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_1.yml/badge.svg )] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_1.yml ) [ ![ serpapi-ruby-sanity-2 ] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_2.yml/badge.svg )] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_2.yml )
6+ [ ![ Gem Version] ( https://badge.fury.io/rb/serpapi.svg )] ( https://badge.fury.io/rb/serpapi ) [ ![ serpapi-ruby] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml/badge.svg )] ( https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml )
77</div >
88
99Integrate search data into your Ruby application. This library is the official wrapper for SerpApi (https://serpapi.com ).
@@ -394,7 +394,7 @@ results = client.search({
394394})
395395
396396# print the output of the response in formatted JSON
397- pp results[:organic_results ]
397+ pp results[:visual_matches ]
398398# doc: https://serpapi.com/google_lens
399399```
400400
@@ -412,7 +412,7 @@ results = client.search({
412412})
413413
414414# print the output of the response in formatted JSON
415- pp results[:organic_results ]
415+ pp results[:images_results ]
416416# doc: https://serpapi.com/google_images_light
417417```
418418
@@ -436,7 +436,7 @@ results = client.search({
436436})
437437
438438# print the output of the response in formatted JSON
439- pp results[:organic_results ]
439+ pp results[:properties ]
440440# doc: https://serpapi.com/google_hotels
441441```
442442
@@ -459,7 +459,7 @@ results = client.search({
459459})
460460
461461# print the output of the response in formatted JSON
462- pp results[:organic_results ]
462+ pp results[:best_flights ]
463463# doc: https://serpapi.com/google_flights
464464```
465465
@@ -477,7 +477,7 @@ results = client.search({
477477})
478478
479479# print the output of the response in formatted JSON
480- pp results[:organic_results ]
480+ pp results[:markets ]
481481# doc: https://serpapi.com/google_finance
482482```
483483
@@ -495,7 +495,7 @@ results = client.search({
495495})
496496
497497# print the output of the response in formatted JSON
498- pp results[:organic_results ]
498+ pp results[:ai_overview ]
499499# doc: https://serpapi.com/google_ai_overview
500500```
501501
@@ -515,7 +515,7 @@ results = client.search({
515515})
516516
517517# print the output of the response in formatted JSON
518- pp results[:organic_results ]
518+ pp results[:news_results ]
519519# doc: https://serpapi.com/google_news
520520```
521521
@@ -552,7 +552,7 @@ results = client.search({
552552})
553553
554554# print the output of the response in formatted JSON
555- pp results[:organic_results ]
555+ pp results[:interest_over_time ]
556556# doc: https://serpapi.com/google_trends
557557```
558558
@@ -570,7 +570,7 @@ results = client.search({
570570})
571571
572572# print the output of the response in formatted JSON
573- pp results[:organic_results ]
573+ pp results[:shopping_results ]
574574# doc: https://serpapi.com/google_shopping
575575```
576576
0 commit comments