The official API client for Vertex's API.
import { logError, prettyJson, VertexClient,} from '@vertexvis/api-client-node';const main = async () => { try { // Shown with default values const client = await VertexClient.build({ basePath: 'https://platform.vertexvis.com', client: { id: process.env.VERTEX_CLIENT_ID, secret: process.env.VERTEX_CLIENT_SECRET, }, }); const getFilesRes = await client.files.getFiles({ pageSize: 1 }); console.log(prettyJson(getFilesRes.data)); } catch (error) { logError(error, console.error); }};main();
Developer Guides to get started.
Build a VertexClient.
BuildReq.
The official API client for Vertex's API.
Developer Guides to get started.