An open API service indexing awesome lists of open source software.

https://github.com/juhalehtonen/planmill2sheets


https://github.com/juhalehtonen/planmill2sheets

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# PlanMill2Sheets

This tool fetches a JSON response from the PlanMill Opportunities API, converts it to CSV format, and uploads it to a configured Google Spreadsheet.

Note that this tool writes over all previous data in the configured Spreadsheet, so some caution should be taken when running this.

## Setup

Note that you must have OpenSSL 1.1 or 1.2. 1.0 does not work.

1. Copy `.env.example` to `.env` and fill in the values.
2. Install Python dependencies with `pipenv`

## Usage

Setup a new app that uses Google Sheets API and download the credentials JSON file into `credentials.json`. You can do this [here](https://console.developers.google.com/).

Use OAuth and set the scopes to allow read/write access to spreadsheets.

Then run `pipenv run python3 main.py` and you're done. You need to authorize yourself to Google once before.