{"id":22428791,"url":"https://github.com/fwzmhmd/weather-command-line","last_synced_at":"2026-04-17T08:02:00.475Z","repository":{"id":229482449,"uuid":"127029086","full_name":"fwzmhmd/weather-command-line","owner":"fwzmhmd","description":"A Node.js command line application for accessing the weather","archived":false,"fork":false,"pushed_at":"2018-03-27T20:32:11.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T09:52:32.297Z","etag":null,"topics":["api","cli","command-line","commandline","es6","javascript","json","json-api","node-js","nodejs","project"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/fwzmhmd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-03-27T18:25:41.000Z","updated_at":"2023-02-16T22:35:04.000Z","dependencies_parsed_at":"2024-03-24T17:28:54.693Z","dependency_job_id":"7774f698-945b-4cda-bf99-4b44a0edad2d","html_url":"https://github.com/fwzmhmd/weather-command-line","commit_stats":null,"previous_names":["fwzmhmd/weather-command-line"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fwzmhmd/weather-command-line","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwzmhmd%2Fweather-command-line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwzmhmd%2Fweather-command-line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwzmhmd%2Fweather-command-line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwzmhmd%2Fweather-command-line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwzmhmd","download_url":"https://codeload.github.com/fwzmhmd/weather-command-line/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwzmhmd%2Fweather-command-line/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["api","cli","command-line","commandline","es6","javascript","json","json-api","node-js","nodejs","project"],"created_at":"2024-12-05T20:17:06.147Z","updated_at":"2026-04-17T08:02:00.406Z","avatar_url":"https://github.com/fwzmhmd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather Command Line\nA Node.js command line application for accessing the current weather\n\n# Getting Started\n### Clone the repository\n\n```\n$ git clone git@github.com:fwzmhmd/weather-command-line.git\n```\n\n### Prerequisites\n\nInstall Node.js from the Official [Website](https://nodejs.org)\n\nCheck if you have node installed\n```\n$ node -v\n```\n\n# API Key\n### **Sign Up**\n\n1. **Go to [OpenWeatherMap](https://home.openweathermap.org/users/sign_up) to get an API Key**\n\n2. **Create an Account**\n\n![Imgur](https://i.imgur.com/jtKlUbI.png)\n\n3. **Goto API keys tab**\n\n![Imgur](https://i.imgur.com/Pqz6Fzn.png)\n\n4. **Copy API Key**\n\n![Imgur](https://i.imgur.com/f1lHqSi.png)\n\n\n### **Connect API**\n\n1. Create a file called `api.json`\n2. Copy/Paste the following:\n```\n{\n    \"key\": \"\u003capi-key\u003e\"\n}\n```\n3. Replace `\u003capi-key\u003e` with your key from [OpenWeatherMap](https://home.openweathermap.org/api_keys)\n4. Save the file\n\n# How to Use\n### Search a location by City\n```\n$ node app.js city-name\n```\n```\n$ node app.js city-name,country-code\n```\n### Search a location by ZIP Code\n\n```\n$ node app.js zip-code,country-code\n```\n_If country code is not specified with zip code then the search works for USA as a default_\n```\n$ node app.js zip-code\n```\n\n# Examples\n### Search a location by City\n```\n$ node app.js london\n```\n```\n$ node app.js london,uk\n```\n```\n$ node app.js paris\n```\n### Search a location by ZIP Code\n\n```\n$ node app.js 94040,us\n```\n_If country code is not specified with zip code then the search works for USA as a default_\n```\n$ node app.js 94040\n```\n\n# Authors\n **Fawaz Mohamed** - [Github](https://github.com/fwzmhmd)\n\n# License\nThis project is licensed under the MIT License - see  [LICENSE](LICENSE.md) file for details\n\n# Acknowledgments\n\n* OpenWeatherMap for API","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwzmhmd%2Fweather-command-line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwzmhmd%2Fweather-command-line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwzmhmd%2Fweather-command-line/lists"}