GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — serpapi-javascript/examples/deno at master · serpapi/serpapi-javascript

Expand file tree

/

deno

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

deno

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.env.example
.env.example
 
 
README.md
README.md
 
 
basic_example.ts
basic_example.ts
 
 
pagination_example.ts
pagination_example.ts
 
 

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";
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.