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