beeminder / BeeSwift

Official Beeminder for iOS app
Other
30 stars 6 forks source link

Allow accessing goal's datapoints via the app #239

Closed krugerk closed 3 years ago

krugerk commented 3 years ago

As is, Version 5.8 of the app only shows datapoints from 'recent data'. This list includes up to five of the most recently created datapoints.

Unlike the official Beeminder for Android app, the official Beeminder for iOS app (codebase BeeSwift) does not provide a mechanism for the user to view or edit a goal's datapoints (those that do not appear also in recent data).

It seems obvious that not all datapoints would need to be fetched for each and every goal. However, providing the possibility for the user to request more / all of the datapoints.

From the looks of it, the API supports requesting all of the datapoints for a goal via https://api.beeminder.com/#dataall and via https://api.beeminder.com/#getgoal. It does not however appear to support paging (requesting ranges). Via the endpoint described at https://api.beeminder.com/#getuser, the parameter datapoints_count can be provided to obtain a user's goals with the specified number of datapoints.