Skip to content

Commit

Permalink
Support for dropbox
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Sep 5, 2024
1 parent d5037ba commit c91c3b0
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 78 deletions.
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,25 @@ Note: This tap currently does not support incremental state.

## Settings

| Setting | Required | Default | Description |
| :------------------- | :------- | :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| files | False | None | An array of csv file stream settings |
| filesystem | False | local | The filesystem to use for reading files |
| ftp | False | None | FTP connection settings |
| ftp.host | True | None | FTP server host |
| ftp.port | False | 21 | FTP server port |
| ftp.username | False | None | FTP username |
| ftp.password | False | None | FTP password |
| ftp.encoding | False | utf-8 | FTP server encoding |
| github | False | None | GitHub connection settings |
| github.org | True | None | GitHub organization or user where the repository is located |
| github.repo | True | None | GitHub repository |
| github.username | False | None | GitHub username |
| github.token | False | None | GitHub token |
| csv_files_definition | False | None | A path to the JSON file holding an array of file settings |
| add_metadata_columns | False | 0 | When True, add the metadata columns (`_sdc_source_file`, `_sdc_source_file_mtime`, `_sdc_source_lineno`) to output |
| Setting | Required | Default | Description |
| :------------------- | :------- | :------ | :----------------------------------------------------------------------------------------------------------------- |
| files | False | None | An array of csv file stream settings |
| filesystem | False | local | The filesystem to use for reading files |
| ftp | False | None | FTP connection settings |
| ftp.host | True | None | FTP server host |
| ftp.port | False | 21 | FTP server port |
| ftp.username | False | None | FTP username |
| ftp.password | False | None | FTP password |
| ftp.encoding | False | utf-8 | FTP server encoding |
| github | False | None | GitHub connection settings |
| github.org | True | None | GitHub organization or user where the repository is located |
| github.repo | True | None | GitHub repository |
| github.username | False | None | GitHub username |
| github.token | False | None | GitHub token |
| dropbox | False | None | Dropbox connection settings |
| dropbox.token | True | None | Dropbox token |
| csv_files_definition | False | None | A path to the JSON file holding an array of file settings |
| add_metadata_columns | False | 0 | When True, add the metadata columns (`_sdc_source_file`, `_sdc_source_file_mtime`, `_sdc_source_lineno`) to output |

A full list of supported settings and capabilities is available by running: `tap-csv --about`

Expand Down
7 changes: 7 additions & 0 deletions meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ plugins:
kind: password
sensitive: true

# Dropbox settings
- name: dropbox.token
label: Dropbox Token
description: Token for Dropbox
kind: password
sensitive: true

- name: files
description: Array of objects containing keys - `entity`, `path`, `keys`, `encoding` (Optional), `delimiter` (Optional), `doublequote` (Optional), `escapechar` (Optional), `quotechar` (Optional), `skipinitialspace` (Optional), `strict` (Optional)
kind: array
Expand Down
Loading

0 comments on commit c91c3b0

Please sign in to comment.