import { getAccount } from "https://deno.land/x/serpapi@0.0.8/src/serpapi.ts";
Get account information of an API key. https://serpapi.com/account-api
Examples
// async/await
const info = await getAccount({ api_key: API_KEY });
// async/await const info = await getAccount({ api_key: API_KEY });
// callback getAccount({ api_key: API_KEY }, console.log);
Parameters
optional
parameters: AccountApiParams = [UNSUPPORTED]optional
callback: (info: AccountInformation) => void- API key