MCPcopy Index your code
hub / github.com/NUKnightLab/TimelineJS3 / jsonFromGoogleURL

Function jsonFromGoogleURL

src/js/core/ConfigFactory.js:299–306  ·  view source on GitHub ↗
(google_url, options)

Source from the content-addressed store, hash-verified

297}
298
299export async function jsonFromGoogleURL(google_url, options) {
300
301 if (!options['sheets_proxy']) {
302 throw new TLError("Proxy option must be set to read data from Google")
303 }
304
305 return await readGoogleAsCSV(google_url, options['sheets_proxy']);
306}
307
308/**
309 * Helper function to handle errors when fetching timeline configuration.

Callers 2

exportJSONFunction · 0.90
makeConfigFunction · 0.85

Calls 1

readGoogleAsCSVFunction · 0.85

Tested by

no test coverage detected