Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crisszkutnik/dollar-data-to-google-spreadsheets-etl
https://github.com/crisszkutnik/dollar-data-to-google-spreadsheets-etl
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/crisszkutnik/dollar-data-to-google-spreadsheets-etl
- Owner: crisszkutnik
- Created: 2024-01-21T23:29:58.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T14:29:19.000Z (2 months ago)
- Last Synced: 2024-10-18T18:55:22.385Z (2 months ago)
- Language: TypeScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dollar-price-to-google-sheets
App that gets the ARS/USD exchange rate from Ambito and writes it to a Google Spreadsheet.
Also used this project as an opportunity to use Bun as this was made with Bun v1.0.23. I came across some interesting stuff like the fact that Axios does not fucking work with Bun yet.
## Environment variables
| Variable | Comment |
|-----------------------|---------------------------------------------------------------------------|
| SERVICE_ACCOUNT_EMAIL | The email of the service account used to connect to the spreadsheet |
| SERVICE_ACCOUNT_KEY | The private key of the service account used to connect to the spreadsheet |
| SHEET_ID | The Google Sheets spreadsheet ID |## To install dependencies:
```bash
bun install
```To run:
```bash
bun run index.ts
```