voxtesy-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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-sdk

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i voxtesy-sdk

Weekly Downloads

7

Version

2.0.0

License

ISC

Unpacked Size

13.1 kB

Total Files

12

Last publish

Collaborators

  • maaliksaad