voxtesy-sdk
v2.0.0
Published
A TypeScript/JavaScript SDK for interacting with the Voxtesy API.
Downloads
3
Readme
This is the sdk for 3D product Mockups using Ai which is the Final year project created for The Univesity of Faisalabad by
Muhammad Saad Aziz
Muhammad Shaaf Zeeshan
Muhammad Ahmad
voxtesy-sdk
A TypeScript/JavaScript SDK for interacting with the Voxtesy API.
Installation
npm install voxtesy-sdkUsage
import { createScan, getScan } from "voxtesy-sdk";
// Create a new scan
const scan = await createScan({
name: "My Scan",
input_file_id: 123,
project_id: 456,
});
console.log(scan);
// Get scan details
const scanDetails = await getScan(scan.scan_id);
console.log(scanDetails);API
createScan(data: { name: string; input_file_id: number; project_id: number }): Promise<Scan>
Creates a new scan.
getScan(scan_id: number): Promise<Scan>
Fetches details for a scan.
Development
- Build:
npm run build
License
ISC
