Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

Deno basic TypeScript example

Usage

  1. Setup environment variables
  • Duplicate .env.example and name it .env.
  • Replace YOUR_API_KEY with your SerpApi API key.
  1. Run the example
deno run basic_example.ts
deno run pagination_example.ts

Notes

  • Imports rely on mod.ts found in the root folder.
  • To import the published module from deno.land, update the import to the following:
    import {
      config,
      getJson,
      GoogleParameters,
    } from "https://deno.land/x/serpapi/mod.ts";
Morty Proxy This is a proxified and sanitized view of the page, visit original site.