/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import dotenv from "dotenv"; dotenv.config(); /** * Example usage of the @loqate/core SDK * * To run this example from the examples directory: * npm run build && npx tsx captureFind.example.ts */ import { Loqate } from "@loqate/core"; const loqate = new Loqate({ source: "loqate-core-sdk-typescript", apiKey: process.env["LOQATE_API_KEY"] ?? "", }); async function main() { const result = await loqate.capture.find({ key: "AA11-AA11-AA11-AA11", text: "wr5 3da", container: "GB|RM|ENG|3DA-WR5", origin: "52.182,-2.222", countries: "GB,US,CA", limit: 10, language: "10", bias: false, filters: "", geoFence: "", }); console.log(result); } main().catch(console.error);