In this post, we are going deeper into the Dynamic Data project, looking at the Withings dynamic data (library available here on GitHub and at NPM). Opening the library, you’ll see there are fifty-one types of data objects: Getactivity, Getgoals, Getintradayactivity, Getmeas, HeartList, Heart, Sleep, SleepSummary, getDevice, getUser, getWorkout. Learn more about dynamic data generators and the benefits of artificial data in software development. About the data source Withings is a consumer electronics company that develops several products related to Health Monitoring:
Approach used Withings have released their Official Developer Documentation with access to their API. Using the API reference, several JSON objects were created and stored from the data types recorded. The index file of the package imports these data objects and exports them as a collection called Data, These mockup files make up the withings-data package. The withings-mockup package imports the file above and goes through each attribute generating artificial (new) data using proprietary functions, such as those found in the utils package. For example, with the GetMeas object:
Use case ideas
Ideas to combine with some other data sources
Open-source data library We welcome contributions and forks to this data set, and look forward to seeing what developers build in our Liberty. Equality. Data. Slack channel. Considerations for next version/improvementsGeneral Improvements:
With Prifina developers can use the Dynamic Data Libraries natively in the App Studio to build direct to consumer apps where individuals can run them with their own user-held data. Join our Slack community; Liberty. Equality. Data. to brainstorm and collaborate with other app developers, designers, and our team.
|