{"id":19298841,"url":"https://github.com/thedayismyenemy/weathercli","last_synced_at":"2025-06-18T14:37:44.137Z","repository":{"id":56004737,"uuid":"310616649","full_name":"TheDayIsMyEnemy/WeatherCli","owner":"TheDayIsMyEnemy","description":"Weather Command-Line Interface","archived":false,"fork":false,"pushed_at":"2024-03-02T17:29:09.000Z","size":59,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-31T16:56:39.037Z","etag":null,"topics":["cli","command-line-interface","dotnet-cli","openweathermap","weather","weather-cli"],"latest_commit_sha":null,"homepage":"","language":"C#","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/TheDayIsMyEnemy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2020-11-06T14:17:52.000Z","updated_at":"2024-07-03T00:01:19.000Z","dependencies_parsed_at":"2025-04-24T01:32:48.626Z","dependency_job_id":null,"html_url":"https://github.com/TheDayIsMyEnemy/WeatherCli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheDayIsMyEnemy/WeatherCli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDayIsMyEnemy%2FWeatherCli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDayIsMyEnemy%2FWeatherCli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDayIsMyEnemy%2FWeatherCli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDayIsMyEnemy%2FWeatherCli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheDayIsMyEnemy","download_url":"https://codeload.github.com/TheDayIsMyEnemy/WeatherCli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDayIsMyEnemy%2FWeatherCli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260571972,"owners_count":23029985,"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":["cli","command-line-interface","dotnet-cli","openweathermap","weather","weather-cli"],"created_at":"2024-11-09T23:09:16.237Z","updated_at":"2025-06-18T14:37:39.112Z","avatar_url":"https://github.com/TheDayIsMyEnemy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WeatherCli\n\nWeatherCli is a simple tool that allows you to retrieve weather data using the [OpenWeatherMap API](https://openweathermap.org), displaying the current weather in your terminal.\n\n## Installation\n\nTo install WeatherCli, you need to download the [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0). Once installed, run the following command:\n\n```bash\ndotnet tool install -g weathercli\n```\n\nObtain a free API key [here](https://openweathermap.org/appid).\n\n## Usage\n\n### Current weather command\n\n```bash\nUsage: weather current [options] \u003cCityName\u003e\n\nArguments:\n  CityName      You can call by city name or city name, state code and country code\n\nOptions:\n  -d|--default  Sets a default city name\n  -k|--apikey   Sets an OpenWeatherMap API key\n```\n\nExample using the current weather command:\n\n```bash\nweather current sofia -k YOUR_API_KEY\n```\n\nExample of successful response:\n\u003e Sofia\\\nMist -2°C\\\nFeels like -5°C. mist\\\nWind 1.0m/s N, 1021hPa, Humidity: 92%\\\nVisibility: 2.8km\n\nOptionally, you can omit the API key. To do that, you need to set the environment variable.\n\nWindows command:\n\n```bash\nsetx OPENWEATHERMAP_APIKEY YOUR_API_KEY\n```\n\nLinux command:\n\n```bash\nexport OPENWEATHERMAP_APIKEY=YOUR_API_KEY\n```\n\n## Contribution\n\n* If you want to contribute to this project, create a pull request\n* If you find any bugs or error, create an issue\n\n## License\n\nDistributed under the MIT License. See [LICENSE](https://github.com/TheDayIsMyEnemy/WeatherCli/blob/main/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedayismyenemy%2Fweathercli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedayismyenemy%2Fweathercli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedayismyenemy%2Fweathercli/lists"}