This repository has been archived on 2025-11-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
API_diverse_consumption/.env
T
egutierrez 478e250368 Add initial implementation for weather data retrieval and storage
- Create .env file for environment variables
- Add .gitignore to exclude virtual environment
- Implement weatherstack.py to fetch weather data from API and store it in MongoDB
- Define tasks for data retrieval, processing, and storage using Prefect
2024-11-29 00:58:25 +01:00

5 lines
210 B
Bash

API_URL=http://api.weatherstack.com/current
API_KEY=d46d7419401ae4d339037fd5be77e5d7
MONGO_URI=mongodb://admin:iO6RQO3xPoXvpm7BXUKZAjhijYLssQ@10.8.0.3:27017/
DB_NAME=weather_data
COLLECTION_NAME=current_weather