2025-11-13 13:13:34 -07:00

16 lines
564 B
JavaScript

// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../resource.mjs";
export class Links extends APIResource {
/**
* Get links from a web page.
*/
create(params, options) {
const { account_id, cacheTTL, ...body } = params;
return this._client.post(`/accounts/${account_id}/browser-rendering/links`, {
query: { cacheTTL },
body,
...options,
})._thenUnwrap((obj) => obj.result);
}
}
//# sourceMappingURL=links.mjs.map