GeezerVison is showing github.com — serpapi-javascript/examples/deno at master · serpapi/serpapi-javascript
Directory actions
More options
More optionsDirectory actions
More options
More optionsFolders and files
| Name | Name | Last commit message | Last commit date |
|---|
parent directory.. |
| | | |
| | | |
| | | |
| | | |
|
Deno basic TypeScript example
- Setup environment variables
- Duplicate
.env.example and name it .env.
- Replace
YOUR_API_KEY with your SerpApi API key.
- Run the example
deno run basic_example.ts
deno run pagination_example.ts
- 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";