FarallonWest / omnivore-backup

Backup all Omnivore data using the GraphQL API

Repository from Github https://github.comFarallonWest/omnivore-backupRepository from Github https://github.comFarallonWest/omnivore-backup

Omnivore Backup Utility

Prerequisites:

GraphQL access library

pip install "gql[all]"

virtual env

python -m venv .venv

. .venv/bin/activate

pip install -r requirements.txt

API Key

You have to provide the Omnivore API access token in the TOKEN environment variable:

Windows:

set TOKEN=a56780c3-78e6-4c29-9f34-d865834ff6b8

Linux/Mac:

export TOKEN='a56780c3-78e6-4c29-9f34-d865834ff6b8'

Usage

python backup.py > data.csv

Linux/Mac users might run something like this:

./backup.py >/tmp/omnivore-$(date +"%Y%m%d").csv

About

Backup all Omnivore data using the GraphQL API


Languages

Language:Python 100.0%