mathesong / rwithings Goto Github PK
View Code? Open in Web Editor NEWTools for querying the Withings API from R
License: Other
Tools for querying the Withings API from R
License: Other
Hey,
Nice package! I try to register my own withings API, but "http://localhost:1410/" as callback url is not accepted ( see under Callback URL http://developer.withings.com/oauth2/#section/Glossary ; IPs or localhost is not allowed, the URL has to be: https). Maybe that changed or I am totally overseeing something obvious.
All the best,
S.
I started working with your package and it is really helpful! Especially your withings_auth
solution is very convenient.
I would like to work with the data of all users on my account (i.e. set all the heart rates in relation to time, temperature, etc.). Is there a quick way for switching between users (of one Health Mate account)?
And if there is no other way: how do I log out (efficiently)?
Someone else been there and found a way?
Yours sincerly,
M.H.
Looks like this change could impact this package:
The "New response format" looks unfortunate given the reliance on httr
's oauth.
When I try to call
rwithings::getmeas(token, meastype = 1, category=1,startdate = '2020-05-24', enddate = '2020-05-25')
I get the following error:
Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match
I've been able to resolve the error by running a chunk like this, based off of the underlying code in the getmeas
function:
out$body$measuregrps %>%
unnest(measures) %>%
mutate_at(vars(c(date,created)), list(~ as.POSIXct(., tz=tz, origin="1970-01-01")))
I don't know if it's worth replacing rbind, but wanted to give you a heads up!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.