(google_url, options)
| 297 | } |
| 298 | |
| 299 | export 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. |
no test coverage detected