Download video rekaman dari Loom. Tempel URL share publik.
Download media dari Loom.
/v1/downloader:loom/downloadno cache4 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("downloader:loom", "download", {
"url": "https://www.loom.com/share/c43a642f815f4378b6f80a889bb73d8d",
"quality": "1080",
"audioOnly": "false",
"audioFormat": "mp3"
});
console.log(data);/v1/downloader:loom/downloadurlstringrequiredqualityenumoptionalmax = best available. Ignored when audioOnly=true. Values: 144, 240, 360, 480, 720, 1080, max.audioOnlyenumoptionaltrue to fetch audio only. Default false (video). Values: true, false.audioFormatenumoptionalcurl -X GET "https://api.zpi.web.id/v1/downloader:loom/download?url=https%3A%2F%2Fwww.loom.com%2Fshare%2Fc43a642f815f4378b6f80a889bb73d8d&quality=1080&audioOnly=false&audioFormat=mp3" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"ok": true,
"url": "https://cdn.loom.com/sessions/transcoded/c43a642f815f4378b6f80a889bb73d8d.mp4?Policy=...&Key-Pair-Id=KQOSYIR44AIC0&Signature=...",
"type": "video",
"filename": "loom_c43a642f815f4378b6f80a889bb73d8d.mp4",
"provider": "loom",
"originalUrl": "https://www.loom.com/share/c43a642f815f4378b6f80a889bb73d8d"
}