Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
既に不要となったClient IDの取得などについての文言を削除など。
  • Loading branch information
teramonagi committed Mar 31, 2016
1 parent 20f2fdb commit a4d8e25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -3,10 +3,11 @@
healthplanetパッケージは[Tanita](http://www.tanita.co.jp/)により運営・提供されている[Health Planet API](https://www.healthplanet.jp/apis/api.html)のラッパーパッケージです。
[Health Planet API](https://www.healthplanet.jp/apis/api.html)で取得できるデータをRのdata.frame形式で返却します。
(※現在、innerscan系のデータのみ)
(※当然ながら、データはご自身でhealthplanetにため込んでおく必要があります)

## 使用する前に下記の登録が必要です
- [HealthPlanet](https://www.healthplanet.jp/)への会員登録
- 会員登録後、[HealthPlanet](https://www.healthplanet.jp/)にログインし、アプリケーションの登録を行い、「Client ID」と「Client secret」を取得
- (そこで登録したユーザIDとパスワードを覚えておく)

## パッケージのインストール

Expand All @@ -20,6 +21,7 @@ devtools::install_github("teramonagi/healthplanet")
```R
> #ブラウザ経由での認証が実行される
> access_token <- getToken()
> #getInnerScan関数により体重・体脂肪など、タニタの体重計で測定されたデータが取得できる
> #一度取得したaccess_tokenは以降も使いまわしてOK
> df <- getInnerScan(access_token)
> df
Expand Down

0 comments on commit a4d8e25

Please sign in to comment.