get https://api.fulcrumapp.com/api/v2/videos//track.gpx
API Library Examples
from fulcrum import Fulcrum
import json
fulcrum = Fulcrum('{token}')
tracks = fulcrum.videos.track('{id}', 'gpx')
with open('track.gpx', 'w') as f:
json.dump(tracks, f)
const { Client } = require('fulcrum-app');
const fs = require('fs');
const client = new Client('{token}');
client.videos.track('{id}', 'gpx')
.then(track => fs.writeFile('track.gpx', track, function () {
console.log('track downloaded!');
}))
.catch(err => console.log(err));
require 'fulcrum'
client = Fulcrum::Client.new('{token}')
track = client.videos.track('{id}', 'gpx')
File.open('track.gpx','w') do |f|
f.write(track)
end