Get Original Audio File

API Library Examples

from fulcrum import Fulcrum
fulcrum = Fulcrum('{token}')

audio = fulcrum.audio.media('{id}', 'original')

with open('{id}.m4a', 'wb') as f:
  f.write(audio)
const { Client } = require('fulcrum-app');
const fs = require('fs');
const client = new Client('{token}');

const writeStream = fs.createWriteStream('{id}.m4a');

client.audio.media('{id}', 'original')
  .then(audio => audio.pipe(writeStream))
  .catch(error => console.log(error));
require 'fulcrum'

client = Fulcrum::Client.new('{token}')

client.audio.original('{id}') do |input|
  File.open('{id}.m4a', 'wb') do |output|
    output.write(input.read)
  end
end
Language
Credentials
Header
Click Try It! to start a request and see the response here!