https://github.com/juhalehtonen/planmill2sheets
https://github.com/juhalehtonen/planmill2sheets
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/juhalehtonen/planmill2sheets
- Owner: juhalehtonen
- Created: 2019-07-03T05:34:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T11:25:32.000Z (about 5 years ago)
- Last Synced: 2025-04-06T08:13:52.349Z (2 months ago)
- Language: Python
- Size: 82 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.