Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CustomSearch

import { CustomSearch } from "https://googleapis.deno.dev/v1/customsearch:v1.ts";

Searches over a website or collection of websites

class CustomSearch {
constructor(client?: CredentialsClient, baseUrl?: string);
async cseList(opts?: CseListOptions): Promise<Search>;
async cseSiterestrictList(opts?: CseSiterestrictListOptions): Promise<Search>;
}

§Constructors

§
new CustomSearch(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
cseList(opts?: CseListOptions): Promise<Search>
[src]

Returns metadata about the search performed, metadata about the engine used for the search, and the search results.

§
cseSiterestrictList(opts?: CseSiterestrictListOptions): Promise<Search>
[src]

Returns metadata about the search performed, metadata about the engine used for the search, and the search results. Uses a small set of url patterns.