feedbaby-client
v1.0.3
Published
Client for the FeedBaby App
Downloads
2
Readme
FeedBaby Client
FeedBaby is an exceptionally useful app for tracking aspects of raising a child, such as time and duration of feeds. I've found it so useful in fact that I've created this client library to allow you to communicate with its API.
Features
- Ping the server
- Register a new device
- Retrieve/Upload Baby's data (incomplete, see below)
- Determine the version of the synchronised data
The library will currently only let you download the data the first time you provide a new device ID. I'm yet to determine why subsequent calls with a known device ID fail.
Warning!
Backup your Baby's data before using this library.
Unfortunately FeedBaby's API doesn't make it possible to read your data without potentially modifying it. This is because the endpoint for downloading your baby's data also requires you to upload it - except for the first time a new device downloads the data.
Development
How to publish a release
- Merge functionality to master along with an increase in the package's version
- Create a release in GitHub - the version will be the package's version prefixed with 'v'
Creating the release with trigger the GitHub workflow that will publish to npmjs.com