{"id":25290867,"url":"https://github.com/dsk52/export-health-planet","last_synced_at":"2025-04-06T19:17:20.001Z","repository":{"id":50173516,"uuid":"252308607","full_name":"dsk52/export-health-planet","owner":"dsk52","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-08T03:57:51.000Z","size":7,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T19:07:34.329Z","etag":null,"topics":["export","health-planet","json","python3","requests"],"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/dsk52.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-04-01T23:24:21.000Z","updated_at":"2023-07-02T20:53:57.000Z","dependencies_parsed_at":"2023-01-25T04:30:55.373Z","dependency_job_id":null,"html_url":"https://github.com/dsk52/export-health-planet","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/dsk52%2Fexport-health-planet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsk52%2Fexport-health-planet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsk52%2Fexport-health-planet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsk52%2Fexport-health-planet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsk52","download_url":"https://codeload.github.com/dsk52/export-health-planet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535517,"owners_count":20954576,"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":["export","health-planet","json","python3","requests"],"created_at":"2025-02-13T00:50:09.452Z","updated_at":"2025-04-06T19:17:19.981Z","avatar_url":"https://github.com/dsk52.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DUMP HEALTH PLANET\n\nheadlth planet からデータ収集するスクリプトです\n\n- Python 3.8.2\n\n## セットアップ\n\n```\n$ python -m venv venv\n$ source venv/bin/activate\nor\n$ source venv/bin/activate.fish\n\n$ pip install -r requirements.txt\n```\n\n### アカウント登録と連携アプリを作成\nHealth Planetでアカウントを登録後、連携アプリを作成。Client ID、Client secretを取得。\nhttps://www.healthplanet.jp/applications.do\n\n\n### アクセストークンの取得とスクリプトへの追加\n下記APIの仕様書を元に下記APIを使用し、アクセストークンを取得。\n\n1. /oauth/auth\n2. /oauth/token\n\n[Health Planet API 仕様書　｜　Health Planet ヘルスプラネット](https://www.healthplanet.jp/apis/api.html)\n\n\n```\n$ cp .env.sample .env\n$ direnv edit .\n// HEALTH_ACCESS_TOKEN にアクセストークンを追加\n\n$ direnv allow\n```\n\n## 実行\n\n```\n$ python health_status.py\n\n# output to dist dir\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsk52%2Fexport-health-planet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsk52%2Fexport-health-planet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsk52%2Fexport-health-planet/lists"}