/g-api

Primary LanguageJavaScript

Basic JavaScript example for Node.js 14 and newer

Usage

  1. Setup environment variables
  • Duplicate .env.example and name it .env.
  • Replace YOUR_API_KEY with your SerpApi API key.
  1. Install dependencies and run example
npm i
npm start