{"id":15906684,"url":"https://github.com/logancyang/weather-competition","last_synced_at":"2026-04-28T14:34:19.041Z","repository":{"id":44405657,"uuid":"286580683","full_name":"logancyang/weather-competition","owner":"logancyang","description":"A weather scoring and comparison app for a list of cities, built with FastAPI and deployed on Heroku.","archived":false,"fork":false,"pushed_at":"2022-08-18T04:03:24.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T02:43:58.555Z","etag":null,"topics":["fastapi"],"latest_commit_sha":null,"homepage":"","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/logancyang.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}},"created_at":"2020-08-10T21:17:26.000Z","updated_at":"2022-01-19T21:59:54.000Z","dependencies_parsed_at":"2022-07-15T10:19:43.417Z","dependency_job_id":null,"html_url":"https://github.com/logancyang/weather-competition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/logancyang/weather-competition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logancyang%2Fweather-competition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logancyang%2Fweather-competition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logancyang%2Fweather-competition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logancyang%2Fweather-competition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logancyang","download_url":"https://codeload.github.com/logancyang/weather-competition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logancyang%2Fweather-competition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: 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":["fastapi"],"created_at":"2024-10-06T13:41:17.465Z","updated_at":"2026-04-28T14:34:19.009Z","avatar_url":"https://github.com/logancyang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## City Weather Competition\n\nThis is a weather comparison app for a list of cities, built with FastAPI, Poetry, deployed on Heroku.\n\n### How to get more cities from AccuWeather\n\nFind API key in `.env` on ec2.\n\n```\ncurl -X GET \"http://dataservice.accuweather.com/locations/v1/cities/search?apikey=\u003capi-key\u003e\u0026q=\u003ccity name\u003e\"\n```\n\n### How to deploy: EC2 for scheduled jobs\n\nssh into ec2 and go to the repo, \n\n```\n# Start the python environment\npoetry shell\n# Find the running processes\nps -ef | grep python\n# Kill the existing ones\nkill -9 \u003cpid\u003e\n# Start new ones\nnohup python -u -m weather_competition.scheduled_job \u0026\nnohup python -u scheduled_email/send_email.py \u0026\u003e emaillog.out \u0026 \n```\n\n### How to deploy: Heroku for backend service\n\nGo to Heroku https://dashboard.heroku.com/apps/dragon-weather/deploy/github, make sure to manually deploy master branch.\n\n### How to test Heroku deploy\n\n```\ncurl -i -H \"Accept: application/json\" -H \"Content-Type: application/json\" -X GET https://dragon-weather.herokuapp.com/compete24h\\?apikey\\=\u003capi-key\u003e\\\u0026city_ids\\=348181\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogancyang%2Fweather-competition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogancyang%2Fweather-competition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogancyang%2Fweather-competition/lists"}