{"id":27120869,"url":"https://github.com/simranshaikh20/weatherapplication","last_synced_at":"2025-04-07T10:40:04.877Z","repository":{"id":286368218,"uuid":"899893865","full_name":"SimranShaikh20/WeatherApplication","owner":"SimranShaikh20","description":"Weather Application based on city  the image and weather are displayed ","archived":false,"fork":false,"pushed_at":"2025-04-06T01:34:18.000Z","size":23929,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T02:27:37.234Z","etag":null,"topics":["api-gateway","django-application","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimranShaikh20.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T09:57:36.000Z","updated_at":"2025-04-06T01:34:29.000Z","dependencies_parsed_at":"2025-04-06T02:37:42.618Z","dependency_job_id":null,"html_url":"https://github.com/SimranShaikh20/WeatherApplication","commit_stats":null,"previous_names":["simranshaikh20/weatherapplication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimranShaikh20%2FWeatherApplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimranShaikh20%2FWeatherApplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimranShaikh20%2FWeatherApplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimranShaikh20%2FWeatherApplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimranShaikh20","download_url":"https://codeload.github.com/SimranShaikh20/WeatherApplication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640275,"owners_count":20971549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","django-application","python"],"created_at":"2025-04-07T10:40:03.246Z","updated_at":"2025-04-07T10:40:04.860Z","avatar_url":"https://github.com/SimranShaikh20.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌦️ Weather App\n\nA **Django-based Weather App** that fetches and displays **real-time weather data** for any city using the OpenWeatherMap API. Stay updated with temperature, humidity, wind speed, and general weather conditions—all in a simple, sleek interface! 🌍\n\n---\n\n## 🚀 Features\n\n- 🔍 Search for weather by **city name**\n- 🌡️ View **temperature**, **humidity**, **wind speed**, and **weather condition**\n- 📱 **Responsive**, user-friendly interface\n- ⚠️ Error handling for invalid city names or network issues\n- 🚀 Optional **API response caching** for better performance\n\n---\n\n## 🛠️ Installation Guide\n\nGet the app up and running on your local machine in a few simple steps:\n\n### ✅ Prerequisites\n\n- 🐍 Python 3.8+\n- 🌐 Django 4.0+\n- 🔑 API Keys:\n  - [OpenWeatherMap API Key](https://openweathermap.org/)\n  - [Google Custom Search API Key](https://developers.google.com/custom-search)\n\n### 📦 Setup Steps\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/SimranShaikh20/WeatherApplication\n   cd Weather-App\n\n---\n\n## How to Get a Weather API Key\n\n1. Go to the [OpenWeatherMap API](https://openweathermap.org/api) website.\n2. Sign up for a free account if you don’t already have one.\n3. After logging in, navigate to the **API Keys** section of your profile.\n4. Generate a new API key or use the default one provided.\n5. Copy the API key and add it to the `.env` file as:\n   ```env\n   WEATHER_API_KEY=your_api_key_here\n   ```\n\n---\n\n🔐 Getting API Keys\n🌦️ Weather API (OpenWeatherMap)\n\n1. Go to the [Google Custom Search API](https://developers.google.com/custom-search) website.\n2. Sign in with your Google account.\n3. Navigate to the **Get Started** section and enable the Custom Search JSON API.\n4. Create a new search engine and configure it as per your requirements.\n5. Copy the API key provided in the **Credentials** section.\n6. Add the API key to your `.env` file as:\n   ```env\n   SEARCH_ENGINE_API_KEY=your_search_engine_api_key_here\n   ```\n\n## Usage\n\n1. Enter the city name in the search bar.\n2. Press the \"Search\" button.\n3. View the weather details for the entered city.\n\n---\n\n## Project Structure\n![Page](image/basic-django.png)\n\n```\nWeather-App/\n├── weather_app/        # Main Django app containing settings and URLs\n├── templates/          # HTML templates for the app\n├── static/             # CSS, JavaScript, and image files\n├── .env                # Environment variables file\n├── manage.py           # Django management script\n├── requirements.txt    # Python dependencies\n└── README.md           # Project documentation\n```\n\n---\n\n🔎 Google Custom Search API\n\nThe app uses the [OpenWeatherMap API](https://openweathermap.org/api) to fetch weather data. Make sure to generate an API key and add it to your `.env` file as described in the installation steps.\n\n### Example API Request\n```bash\nGET https://api.openweathermap.org/data/2.5/weather?q=city_name\u0026appid=your_api_key\n```\n\n---\n\n## Screenshots\n\n### Home Page\n![Home Page](image/home1.png)\n\n### Weather Details\n![Weather Details](image/home2.png)\n\n---\n\n## Contributing\n\n1. Fork the repository.\n2. Create a feature branch:\n   ```bash\n   git checkout -b feature-name\n   ```\n3. Commit your changes:\n   ```bash\n   git commit -m \"Add your message here\"\n   ```\n4. Push to the branch:\n   ```bash\n   git push origin feature-name\n   ```\n5. Create a Pull Request.\n\n---\n\n---\n\n## Acknowledgments\n\n- [Django Documentation](https://docs.djangoproject.com/)\n- [OpenWeatherMap API](https://openweathermap.org/api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimranshaikh20%2Fweatherapplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimranshaikh20%2Fweatherapplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimranshaikh20%2Fweatherapplication/lists"}