https://github.com/hardwario/cloud-fetch
HARDWARIO Cloud Fetch - Data Extraction Tool
https://github.com/hardwario/cloud-fetch
cli cloud data excel python
Last synced: 5 months ago
JSON representation
HARDWARIO Cloud Fetch - Data Extraction Tool
- Host: GitHub
- URL: https://github.com/hardwario/cloud-fetch
- Owner: hardwario
- License: mit
- Created: 2020-05-17T14:38:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:54:52.000Z (over 3 years ago)
- Last Synced: 2024-12-30T19:48:07.998Z (over 1 year ago)
- Topics: cli, cloud, data, excel, python
- Language: Python
- Homepage:
- Size: 317 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HARDWARIO Cloud Fetch
This repository contains a Python 3 CLI script to fetch device messages in HARDWARIO Cloud and extract useful measurements from it. The measurements are written to the specified XLSX file. It is not distributed via PyPI as code modification by customers is expected, and simplicity is the goal.
## Requirements
* Python 3
* Git
## Installation
1. Clone this repository:
git clone git@github.com:hardwario/cloud-fetch.git
1. Install the Python dependencies:
python3 -m pip install click pandas pendulum requests
> It is recommended to use `venv` for package isolation.
## Usage
1. See the script command line options:
python3 fetch.py --help
1. Run the script:
python3 fetch.py -x XLSX_FILE -g GROUP_ID -t API_TOKEN
> The measurements can be easily modified in the `extract_measurement` function.
## Authors
* [**Pavel Hübner**](https://github.com/hubpav) - Initial work
## License
This project is licensed under the [**MIT License**](https://opensource.org/licenses/MIT/) - see the [**LICENSE**](https://github.com/hardwario/cloud-fetch/blob/master/LICENSE) file for details.