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