{"id":21714838,"url":"https://github.com/redraw/fake-weather-challenge","last_synced_at":"2026-04-14T01:31:07.294Z","repository":{"id":85199092,"uuid":"247861936","full_name":"redraw/fake-weather-challenge","owner":"redraw","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-25T23:35:10.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-28T04:52:43.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/redraw.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":"2020-03-17T02:33:39.000Z","updated_at":"2021-01-13T21:43:53.000Z","dependencies_parsed_at":"2023-03-29T00:20:32.311Z","dependency_job_id":null,"html_url":"https://github.com/redraw/fake-weather-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redraw/fake-weather-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Ffake-weather-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Ffake-weather-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Ffake-weather-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Ffake-weather-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redraw","download_url":"https://codeload.github.com/redraw/fake-weather-challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Ffake-weather-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31778580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-26T00:39:06.376Z","updated_at":"2026-04-14T01:31:07.261Z","avatar_url":"https://github.com/redraw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fake-weather-challenge\n\n## Install\nClone the repo,\n\n```bash\n$ git clone --recurse-submodules git@github.com:redraw/fake-weather-challenge.git\n```\n\nor \n\n```bash\n$ git clone git@github.com:redraw/fake-weather-challenge.git\n$ git submodule update --init\n```\n\nThat way we can also fetch the `mock-weather-api` submodule.\n\n## Run\n\n```bash\n$ docker-compose up\n```\nGo to `http://localhost:8000`\n\n## API \n### `GET /api/temp`\n\n- lat: latitude\n- lon: longitude\n- providers: separated by comma. Possible values: noaa, accuweather, weatherdotcom\n- unit: default is celsius. Possible values: celsius, fahrenheit\n\n```\nGET /api/temp/?lat=33.3\u0026lon=22.5\u0026providers=noaa,accuweather\nHTTP 200 OK\nAllow: GET, HEAD, OPTIONS\nContent-Type: application/json\nVary: Accept\n\n{\n    \"avg\": {\n        \"celsius\": 12.0\n    },\n    \"query\": {\n        \"lat\": 33.3,\n        \"lon\": 22.5,\n        \"unit\": \"celsius\",\n        \"providers\": [\n            \"accuweather\",\n            \"noaa\"\n        ]\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Ffake-weather-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredraw%2Ffake-weather-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Ffake-weather-challenge/lists"}