Google Drive

gdrive from matatika

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 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.

File ID (file_id)

  • Environment variable: GDRIVE_FILE_ID

Google Drive File or Folder ID. More information on settings

Output Path (output_path)

  • Environment variable: GDRIVE_OUTPUT_PATH

Output path for downloaded files.

Access Token (access_token)

  • Environment variable: GDRIVE_ACCESS_TOKEN

Google Access Token.

Client ID (client_id)

  • Environment variable: GDRIVE_CLIENT_ID

Google Client ID.

Client Secret (client_secret)

  • Environment variable: GDRIVE_CLIENT_SECRET

Google Client Secret.

Refresh Token (refresh_token)

  • Environment variable: GDRIVE_REFRESH_TOKEN

Google Refresh Token.

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
  • Stars
  • Forks
  • Open Issues
  • Open PRs
  • Contributors
  • License

Maintainer

  • Matatika

Meltano Stats

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

Keywords

  • googlegoogle drive