{"id":20817191,"url":"https://github.com/kgoksal/weather-api","last_synced_at":"2025-10-06T18:54:10.726Z","repository":{"id":258232447,"uuid":"871820423","full_name":"KGoksal/weather-api","owner":"KGoksal","description":"JavaScript Webpage to see weather in your location","archived":false,"fork":false,"pushed_at":"2025-07-04T22:59:31.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T00:33:08.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KGoksal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-13T03:07:50.000Z","updated_at":"2025-07-04T22:59:35.000Z","dependencies_parsed_at":"2024-10-22T14:55:56.202Z","dependency_job_id":"92870689-20c0-45c8-ab96-cc968dd65f05","html_url":"https://github.com/KGoksal/weather-api","commit_stats":null,"previous_names":["kgoksal/weather-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KGoksal/weather-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KGoksal%2Fweather-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KGoksal%2Fweather-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KGoksal%2Fweather-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KGoksal%2Fweather-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KGoksal","download_url":"https://codeload.github.com/KGoksal/weather-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KGoksal%2Fweather-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276175308,"owners_count":25597795,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-17T21:39:48.594Z","updated_at":"2025-09-20T23:56:28.205Z","avatar_url":"https://github.com/KGoksal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Weather App \n \n\u003cimg width=\"677\" alt=\"Screenshot 2024-10-12 at 10 15 53 PM\" src=\"https://github.com/user-attachments/assets/ca3cf347-996f-4d64-a74c-ae768ae1e396\"\u003e \n \n## Overview \n\nThe Weather App is a simple, user-friendly web application that allows users to check the current weather conditions based on their ZIP code. It leverages the OpenWeatherMap API to fetch and display real-time weather data, including temperature, weather descriptions, and icons. The application also dynamically changes the background color based on the current weather conditions for an enhanced user experience.\n \n## Features\n\n- **Current Weather Data**: Displays temperature, weather description, and city name based on user-provided ZIP code.\n- **Dynamic Background**: Background color changes according to the weather conditions (e.g., sunny, cloudy, rainy).\n- **Weather Icons**: Uses weather icons to visually represent the current weather. \n- **Input Validation**: Validates user input to ensure a valid 5-digit ZIP code is entered. \n\n\u003cimg width=\"691\" alt=\"Screenshot 2024-10-12 at 10 16 05 PM\" src=\"https://github.com/user-attachments/assets/bc1e8cfe-6abe-45ef-b847-c796b4a8b2a6\"\u003e\n\n## Technologies Used \n\n- **HTML**: Structure of the web page.  \n- **CSS**: Styling of the web page for an attractive user interface. \n- **JavaScript**: Logic to fetch weather data from the API and manipulate the DOM. \n- **OpenWeatherMap API**: Service for obtaining real-time weather data. \n\n\n\u003cimg width=\"739\" alt=\"Screenshot 2024-10-12 at 10 15 47 PM\" src=\"https://github.com/user-attachments/assets/096b4f8a-ff4f-4335-9a00-bdc2734941d3\"\u003e\n\n\n## Getting Started\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/KGoksal/weather-api.git\n   ```\n\n2. **Open the `index.html` file** in your web browser.\n\n3. **Enter a valid 5-digit ZIP code** and click the \"Get Weather\" button to retrieve current weather data.\n\n## API Key\n\nTo run this application, you will need to replace the placeholder API key in the JavaScript file (`script.js`) with your own OpenWeatherMap API key. Sign up at [OpenWeatherMap](https://openweathermap.org/) to obtain your API key.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgoksal%2Fweather-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkgoksal%2Fweather-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgoksal%2Fweather-api/lists"}