Mix.Tasks.Gs.Fetch

Loads a Google spreadsheet and all worksheets in CSV format for the given document key.

If no parameters are given, it looks through all configured spreadsheets in :google_sheets configuration.

Examples

mix gs.fetch -u https://spreadsheets.google.com/feeds/worksheets/1k-N20RmT62RyocEu4-MIJm11DZqlZrzV89fGIddDzIs/public/basic -d priv/data

Command line options

  • -u, --url - Source URL to a published Spreadsheet, see README.md for more information.
  • -d, --dir - Directory where to save all CSV files, relative to application root path.