478e250368
- 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
5 lines
210 B
Bash
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 |