An API that recommends suitable crops based on weather conditions and soil properties.
- Weather data retrieval
- Soil property analysis
- Crop recommendations
- Historical weather data
- Forecast integration
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Configure environment variables
- Run the API:
uvicorn main:app --reload
Create a .env
file with:
WEATHER_API_KEY=your_key
WEATHER_API_URL=url
GEOCODING_API_URL=url
FORECAST_API_URL=url
WEATHER_API_KEY2=your_key
WEATHER_HISTORICAL_API_URL=url
CURRENT_AND_FORECAST_API_URL=url
CURRENT_IP_ADDRESS=ip