get https://api.fulcrumapp.com/api/v2/videos//medium.mp4
API Library Examples
from fulcrum import Fulcrum
fulcrum = Fulcrum('{token}')
video = fulcrum.videos.media('{id}', 'medium')
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}', 'medium')
.then(video => video.pipe(writeStream))
.catch(error => console.log(error));
require 'fulcrum'
client = Fulcrum::Client.new('{token}')
client.videos.medium('{id}') do |input|
File.open('{id}.mp4', 'wb') do |output|
output.write(input.read)
end
end