{"id":24747682,"url":"https://github.com/masa0902dev/openweather-moc","last_synced_at":"2025-09-10T16:41:16.096Z","repository":{"id":250469907,"uuid":"834419330","full_name":"masa0902dev/openweather-moc","owner":"masa0902dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-19T09:57:41.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T19:39:03.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/masa0902dev.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,"zenodo":null}},"created_at":"2024-07-27T07:59:18.000Z","updated_at":"2024-09-19T09:57:44.000Z","dependencies_parsed_at":"2024-07-27T17:45:32.620Z","dependency_job_id":"9d8fdbd2-4e4f-472c-a752-ec2ea3a25db1","html_url":"https://github.com/masa0902dev/openweather-moc","commit_stats":null,"previous_names":["masa0902dev/openweather-moc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/masa0902dev/openweather-moc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masa0902dev%2Fopenweather-moc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masa0902dev%2Fopenweather-moc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masa0902dev%2Fopenweather-moc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masa0902dev%2Fopenweather-moc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masa0902dev","download_url":"https://codeload.github.com/masa0902dev/openweather-moc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masa0902dev%2Fopenweather-moc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274487608,"owners_count":25294569,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"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":[],"created_at":"2025-01-28T05:17:30.148Z","updated_at":"2025-09-10T16:41:16.058Z","avatar_url":"https://github.com/masa0902dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OLD\n\n# openweather-moc\n\nlat, lon\nhttps://openweathermap.org/api/geocoding-api\n\n\none call api3.0\nhttps://openweathermap.org/api/one-call-3#history_daily_aggregation\n\n\n### Daily Aggregation\nこれで可能：今年１年の実測気温、1週間の予報気温\n\n\n## file\n- fetch_temperature.mjs:  \n福島市だけ例外処理した。すでに47都道府県で正常動作を確認（location_jpの正しい日本語表記を確認）。  \n全て県庁所在地で取得している。Aichi-kenではなくNagoya、TokyoではなくShinjuku。\n- module.js:\n    - readAllLineAnyOneColCSV()追加、最下部のexportにも書き加える\n    - appendCSV()の無駄なifを削除。appendFileSyncは新規作成も自分でやってくれる。\n- csv_list.csv: すでに47都道府県\n- .env: APIキーは本番用に書き換えること。\n\n\n## ESmodule VS CommonJS\n- 可能：ESmoduleファイルからCommonJSファイルを参照\n- 不可能：CommonJSからESmodule\n\n- 折衷案：ESmoduleを中間モジュールを使用してCommonJSで読みこむ(今回は必要ない)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasa0902dev%2Fopenweather-moc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasa0902dev%2Fopenweather-moc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasa0902dev%2Fopenweather-moc/lists"}