Giter Site home page Giter Site logo

embulk-input-healthplanet's Introduction

Healthplanet input plugin for Embulk

Retrieve your data from TANITA's Health Planet website through Health Planet API v1.

This plugin only supports 'innerscan' scope. Other scopes such as 'sphygmomanometer', 'pedometer' and 'smug' are not supported.

Overview

  • Plugin type: input
  • Resume supported: no
  • Cleanup supported: no
  • Guess supported: no

Install

$ embulk gem install embulk-input-healthplanet

Configuration

  • login_id: Login ID for Health Planet website (string, required)
  • password: Password for Health Planet website (string, required)
  • client_id: Client ID for your client application using this plugin (string, required)
  • client_secret: Client Secret for your client application using this plugin (string, required)
  • next_from: Retrieve data from the time '%Y-%m-%d %H:%M:%S' (string, default: 1 year ago)
  • lang: Language for column name (string, default: en)
    • en or english: English name such as "weight" or "body fat %"
    • ja or japanese: Japanese name such as "体重" or "体脂肪率"
    • other: as-is API tag such as "6021" or "6022"

Example

in:
  type: healthplanet
  login_id: example_login_id
  password: example_password
  client_id: example.apps.healthplanet.jp
  client_secret: 12345678901123-ExampleClientSecret
  next_from: '2015-01-01 00:00:00'
  lang: ja
exec: {}
out:
  type: file
  path_prefix: ./healthplanet/
  file_ext: csv
  formatter:
    type: csv
    default_timezone: 'Asia/Tokyo'

If only new records are required, please use -o option as follows:

$ embulk run config.yml -o config.yml

Notice

Health Planet API ver. 1.0 does not export 'Body Water Mass' data. I reported this issue to TANITA. But with no word of thanks, they just replied that they did not fix this issue because this API was free. embulk-input-healthplanet therefore can not export the 'Body Water Mass' data, too.

References

embulk-input-healthplanet's People

Contributors

muziyoshiz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.