Google Drive

gdrive (matatika variant)

Google Drive file downloader

The gdrive utility is a utility to download Google Drive files. Note that this is not an extractor and will not work when paired with a loader.

Getting Started

Prerequisites

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration

  1. Add the gdrive utility to your project using
    meltano add
    :
  2. meltano add utility gdrive
  3. Configure the gdrive settings using
    meltano config
    :
  4. meltano config gdrive set --interactive

Next steps

If you run into any issues, learn how to get help.

Capabilities

This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!

Settings

The gdrive settings that are known to Meltano are documented below. To quickly find the setting you're looking for, click on any setting name from the list:

You can also list these settings using

meltano config
with the list subcommand:

meltano config gdrive list

You can override these settings or specify additional ones in your meltano.yml by adding the settings key.

Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.

Access Token (access_token)

  • Environment variable: GDRIVE_ACCESS_TOKEN

Google Access Token.


Configure this setting directly using the following Meltano command:

meltano config gdrive set access_token [value]

Client ID (client_id)

  • Environment variable: GDRIVE_CLIENT_ID

Google Client ID.


Configure this setting directly using the following Meltano command:

meltano config gdrive set client_id [value]

Client Secret (client_secret)

  • Environment variable: GDRIVE_CLIENT_SECRET

Google Client Secret.


Configure this setting directly using the following Meltano command:

meltano config gdrive set client_secret [value]

File ID (file_id)

  • Environment variable: GDRIVE_FILE_ID

Google Drive File or Folder ID. More information on settings


Configure this setting directly using the following Meltano command:

meltano config gdrive set file_id [value]

Output Path (output_path)

  • Environment variable: GDRIVE_OUTPUT_PATH

Output path for downloaded files.


Configure this setting directly using the following Meltano command:

meltano config gdrive set output_path [value]

Refresh Token (refresh_token)

  • Environment variable: GDRIVE_REFRESH_TOKEN

Google Refresh Token.


Configure this setting directly using the following Meltano command:

meltano config gdrive set refresh_token [value]

Commands

The gdrive utility supports the following commands that can be used with
meltano invoke
:

run

  • Equivalent to: $GDRIVE_FILE_ID

Download a file or folder of files from Google Drive.

meltano invoke gdrive:run [args...]

Something missing?

This page is generated from a YAML file that you can contribute changes to.

Edit it on GitHub!

Looking for help?

If you're having trouble getting the gdrive utility to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the
#plugins-general
channel.

Install

meltano add utility gdrive

Maintenance Status

  • Maintenance Status

Repo

https://github.com/Matatika/utility-gdrive
  • Stars
  • Forks
  • Last Commit Date
  • Open Issues
  • Open PRs
  • Contributors
  • License

Maintainer

  • Matatika

Meltano Stats

  • Total Executions (Last 3 Months)
  • Projects (Last 3 Months)

Keywords

  • googlegoogle drive