Skip to content

BoxCar Google Search

Tabrez Syed edited this page Feb 22, 2023 · 2 revisions

What is it?

This boxcar enables the engine to get results from a Google Search. Under the covers, this BoxCar uses the SERP Api. To use this BoxCar, you'll need to set the SERPAPI_API_KEY to your SERP API Key. Their free tier supports up to 100 queries a month.

Why do you use it?

If you want to get results from a Google Search in your app, then you can use this BoxCar. Let's say you want to retrieve the weather in Austin, TX this BoxCar will let you make the call and get the results.

How do you use it?

search = Boxcars::Serp.new
puts search.run "What is the high temperature in Austin, TX today?"