Exports ACAP historical 10-day weather forecast JSON data to Excel files
370
Node script that exports historical 10-day weather forecast JSON data to Excel files.
GitHub Repository
https://github.com/ciatph/json-to-excel
Pull the "latest" Docker image.
docker pull ciatphdev/json-to-excel
Put the weather forecast data JSON files inside a target director, for example, the /data directory.
TendayHistoricalItem TS type or the TendayHistoricalItemSchema zod schema./data/samples/sample_response.json file and the Data Description section for more information about its structure and format..
├─ my-project-directory
│ ├─ data
│ ├─── data_01.json
│ ├─── data_02.json
│ ├─── data_03.json
│ ├─── ...
│ ├─ output
│ ├─── ...
Run the export script. This command binds volume mounts from the host to Docker. The /data directory contains the input JSON files from step #2. The script will generate Excel files under the /output directory.
# On Linux OS
docker run -it --rm -v $(pwd)/data:/opt/app/data -v $(pwd)/output:/opt/app/output ciatphdev/json-to-excel
# On Windows OS (Command Prompt)
docker run -it --rm -v %cd%\data:/opt/app/data -v %cd%\output:/opt/app/output ciatphdev/json-to-excel
Content type
Image
Digest
sha256:447cf6777…
Size
49.9 MB
Last updated
almost 2 years ago
docker pull ciatphdev/json-to-excel