1.0.3 • Published 4 years ago

feedbaby-client v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

FeedBaby Client

npm.io Language grade: JavaScript

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

  1. Merge functionality to master along with an increase in the package's version
  2. 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

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago