Skip to content

Example of how to periodically aggregate weather data from an api to CrateDB

Notifications You must be signed in to change notification settings

surister/cratedb-weather-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple project to showcase how simple it is to aggregate data to CrateDB

architecture

The project uses the Crate's sqlalchemy dialect and the python's scheduler, it runs everything synchronously.

Every 60s (time can be changed) it will make a https request to the weather api and insert it into CrateDB.

Setup

Get your api key in https://www.weatherapi.com/

How to run in docker compose

Fill up the environment variables in the docker-compose.yml

docker compose up -d

About

Example of how to periodically aggregate weather data from an api to CrateDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published