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