public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

Expand tabs to include an example of using the lib to use the Search Archive API

Open mikemorcerf opened this issue 1 year ago • 0 comments

Description

Right now, at our page for Search Archive API Documentation, we only give an example of how to use it with a direct HTTP request: https://serpapi.com/searches/5b50d58a304bda2fca30bac9.json?api_key=SECRET_API_KEY

However, we have a lib to use our Search Archive API. The example below is illustrative, and does not reflect exactly everything needed in order to use the lib successfully: CleanShot 2024-09-10 at 14 55 47@2x

Solution

Add information to the Search Archive API Documentation to include examples of using SearchArchiveAPI using our gem in addition to what we currently have using a direct HTTP request.

Sample of example: Screenshot 2024-09-11 at 9 57 35 AM

Notes

Julien: Yeah, we should probably expand this to have more tabs to ease discovery of each lib like we do for the search APIs.

mikemorcerf avatar Sep 10 '24 22:09 mikemorcerf