import { getLocations } from "https://deno.land/x/serpapi@2.1.0/src/serpapi.ts";
Get supported locations. Does not require an API key.
Refer to https://serpapi.com/locations-api for response examples.
Examples
// async/await
const locations = await getLocations({ limit: 3 });
// async/await const locations = await getLocations({ limit: 3 });
// callback getLocations({ limit: 3 }, console.log);
Parameters
optional
parameters: LocationsApiParameters = [UNSUPPORTED]