Updated 04202023-193319
⠀ WaterMinder 3.6 and later for iOS supports x-callback-url, allowing other apps to call certain actions like logging a drink. Below you will find documentation which actions/parameters are available.
Used scheme is waterminder://
Every action can be called via the x-callback-url API using the following format:
waterminder://x-callback-url/[action]?[parameter]&[parameter]
Any blank space must be replaced with %20
add-wateradd-caffeineadd-otherlog-cup⠀
This action logs water.
Parameters:
amount(numeric), positive numeric valuetime(optional), default time it will log water with system current time, however it also supports the following format: dd/MM/yyyy'T'HH:mm - example: 22/01/2019T13:17⠀
Example: waterminder://x-callback-url/add-water?amount=100
This action logs caffeine.
Parameters:
amount(numeric), positive numeric valuetime(optional), default time it will log caffeine with system current time, however it also supports the following format: dd/MM/yyyy'T'HH:mm - example: 09/04/2021T13:17⠀
Example: waterminder://x-callback-url/add-caffeine?amount=115&time=09/04/2021T13:17
This action logs drink with specified other drink type.
Parameters:
amount (numeric), positive numeric valuetype (text), choose drink identifier from list belowtime (optional), default time it will log water with system current time⠀
watercarbonated_watercoconut_waterteacoffeejuicesports_drinkenergy_drinkprotein_shakemilkskim_milksouphot_chocolatesmoothiesodabeerwineliquor⠀
Example: waterminder://x-callback-url/add-other?type=carbonated_water&amount=250
This action logs entry using your pre-defined cup name.
Parameters:
amount (numeric), positive numeric valuecupName (text), should be a valid cup name which already exists in WaterMindertime (optional), default time it will log water with system current time⠀
Example: waterminder://x-callback-url/add-cup?cupName=my%20mug