get https://api.fulcrumapp.com/api/v2/videos/.mp4
API Library Examples
from fulcrum import Fulcrum
fulcrum = Fulcrum('{token}')
video = fulcrum.videos.media('{id}', 'original')
with open('{id}.mp4', 'wb') as f:
f.write(video)
const { Client } = require('fulcrum-app');
const fs = require('fs');
const client = new Client('{token}');
const writeStream = fs.createWriteStream('{id}.mp4');
client.videos.media('{id}', 'original')
.then(video => video.pipe(writeStream))
.catch(error => console.log(error));
require 'fulcrum'
client = Fulcrum::Client.new('{token}')
client.videos.original('{id}') do |input|
File.open('{id}.mp4', 'wb') do |output|
output.write(input.read)
end
end