Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/githubocto/flat-demo-google-sheets
A Flat Data GitHub Action demo repo
https://github.com/githubocto/flat-demo-google-sheets
demo flat-data
Last synced: about 23 hours ago
JSON representation
A Flat Data GitHub Action demo repo
- Host: GitHub
- URL: https://github.com/githubocto/flat-demo-google-sheets
- Owner: githubocto
- License: mit
- Created: 2021-04-06T21:00:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T16:09:50.000Z (almost 3 years ago)
- Last Synced: 2024-11-12T11:40:23.422Z (3 days ago)
- Topics: demo, flat-data
- Homepage: https://octo.github.com/projects/flat-data
- Size: 215 KB
- Stars: 20
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flat Data Demo: Google Sheets
This demo is part of a larger Flat Data project created by [GitHub OCTO](https://octo.github.com/). Read more about the project [here](https://octo.github.com/projects/flat-data).
## What this demo does
This repository uses a [Flat Data Action](https://github.com/githubocto/flat) to fetch a public Google Sheet as a CSV. In order to use you have Publish your Google Sheet to the web and then fetch the "CSV" link for the file.
Inside `.github/workflows/flat.yaml`:
```yaml
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQT7KW2U7o4zh2Sh5qpTl42OQzbKZG-glDd3rVcXhvQ1MtXTQiitvGEV6xvkfrXAn1dYADV1qLc2CEC/pub?output=csv'
downloaded_filename: google-sheet.csv
```## License
[MIT](LICENSE)