GOOGLE_API_KEY in the Google Cloud credential console (console.cloud.google.com/apis/credentials) and a GOOGLE_CSE_ID using the Programmable Search Engine (programmablesearchengine.google.com/controlpanel/create). Next, it is good to follow the instructions found here.
Then we will need to set some environment variables.
Number of results
You can use thek parameter to set the number of results
Metadata results
Run query through GoogleSearch and return snippet, title, and link metadata.- Snippet: The description of the result.
- Title: The title of the result.
- Link: The link to the result.