log_weight()
creates log entry for a body weight and get a response in the format requested.
1 | log_weight(token, weight, date, time = NULL)
|
token |
An OAuth 2.0 token generated by oauth_token() |
weight |
Weight - in the format X.XX. |
date |
Log entry date - in the format yyyy-MM-dd. |
time |
Time of the measurement - hours and minutes in the format HH:mm:ss, which is set to the last second of the day if time is not provided. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.