Skip to content

test2user-aqil/wdc_baku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wdc_baku

A project that collects the current weather condition of Baku and stores it in a log file. The weather data is collected from a trusted weather API and stored in both JSON and CSV formats, as well as a log file. The script is set to run every hour using GitHub Actions.

Usage

  1. Clone repository
git clone https://github.com/test2user-aqil/wdc_baku
  1. Navigate to the project directory
cd wdc_baku
  1. Install the required libraries
pip install -r requirements.txt
  1. Set the API key as an environment variable in GitHub Actions

  2. Push the code to your GitHub repository

Data

The weather data collected includes the following information:

  • Temperature (in Celsius)
  • Description (e.g. "clear sky", "light rain")

File formats

  • JSON
  • CSV
  • Log

Note

The weather API used in this project provides limited free requests per day. If you plan on using the script frequently, it is recommended to sign up for a paid plan to ensure a steady supply of weather data.

Scheduling

The script is set to run every hour using GitHub Actions. You can adjust the schedule by modifying the workflow file in the .github/workflows directory.

Contributing

If you would like to contribute to the development of wdc_baku, feel free to submit a pull request or open an issue on the repository

About

Stay on top of Baku's weather with the Weather Data Collector for Baku

Topics

Resources

License

Stars

Watchers

Forks

Languages