{"id":18572699,"url":"https://github.com/codehex/bbcweather","last_synced_at":"2025-04-30T08:05:08.467Z","repository":{"id":56854748,"uuid":"518114268","full_name":"CodeHex/bbcweather","owner":"CodeHex","description":"Retrieves the current and forecasted weather from the BBC Weather APIs","archived":false,"fork":false,"pushed_at":"2022-08-14T17:27:26.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-06T19:31:10.563Z","etag":null,"topics":["api","bbc","bbc-weather-api","weather"],"latest_commit_sha":null,"homepage":"","language":"Go","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/CodeHex.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}},"created_at":"2022-07-26T15:20:44.000Z","updated_at":"2024-05-12T21:47:10.000Z","dependencies_parsed_at":"2022-09-22T14:24:48.936Z","dependency_job_id":null,"html_url":"https://github.com/CodeHex/bbcweather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHex%2Fbbcweather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHex%2Fbbcweather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHex%2Fbbcweather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHex%2Fbbcweather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeHex","download_url":"https://codeload.github.com/CodeHex/bbcweather/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231366435,"owners_count":18365723,"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","bbc","bbc-weather-api","weather"],"created_at":"2024-11-06T23:06:59.415Z","updated_at":"2024-12-26T14:23:04.542Z","avatar_url":"https://github.com/CodeHex.png","language":"Go","readme":"# BBC Weather API tools\n[![Go Reference](https://pkg.go.dev/badge/github.com/codehex/bbcweather.svg)](https://pkg.go.dev/github.com/codehex/bbcweather)\n\nRetrieves the current and forecasted weather from the BBC Weather APIs\n\n# wx\n`wx` is a command line tool for displaying the current weather from your nearest observation station and the forecasted weather for the next 14 days. Uses the BBC weather APIs for the source of information.\n```zsh\ngo install github.com/codehex/bbcweather/cmd/wx@latest\n```\nLocations can be in the form of\n- The name of the location, city or region\n- The first part of the post code\n- Longitude and latitude\n- The location ID (see [Geonames](https://www.geonames.org/) dataset for more details on location IDs, data dump is [here](http://download.geonames.org/export/dump/))\ne.g.\n\n```shell\nwx Edinburgh Airport     # By specific location\nwx New York              # By city or town\nwx Lake District         # By region\nwx Switzerland           # By country\nwx SW19                  # By postcode (e.g. Wimbeldon)\nwx 48.8566,2.3522        # By longitude and latitude (e.g. Paris)\nwx 2993458               # By location ID (e.g. Monaco - https://www.geonames.org/2993458)\n```\n\nA preset location can be used by setting the `WX_QUERY` env variable\n```zsh\nexport WX_QUERY=Paris\nwx\n```\nHere's an example of a weather report\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"779\" alt=\"wx Output\" src=\"https://user-images.githubusercontent.com/3924123/184547884-53e486fe-6deb-48fe-ad93-dfd281204625.png\"\u003e\n\u003c/p\u003e\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehex%2Fbbcweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodehex%2Fbbcweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehex%2Fbbcweather/lists"}