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

1.2.8 • Public • Published

Usage

const { apiClient, progressListener } = require("buzzle-sdk");

const API_URL = "http://localhost:5000";

const pl = progressListener(API_URL);
const { Job } = apiClient({ baseUrl: API_URL });

async function main() {
  try {
    const { id } = await Job.create({
      idVideoTemplate: "FU_Sg-ygG9",
      idVersion: "XJy4MpE0M",
    });

    pl.on(id, (data) => console.log(data));
  } catch (e) {
    console.error(`Error:${e.message}`);
  }
}

main();

/buzzle-sdk/

    Package Sidebar

    Install

    npm i buzzle-sdk

    Weekly Downloads

    25

    Version

    1.2.8

    License

    ISC

    Unpacked Size

    80.2 kB

    Total Files

    53

    Last publish

    Collaborators

    • harshbhatia22