Send it your weight; it gets logged.
To get started add the bot as a Telegram contact https://telegram.me/WeightLogBot then send it your weight
/output
- Sends you a line chart and a table of your weight
/api
- Sends you the link to your JSON API
/help
- Gives you help
GET your data out to use as you like:
Endpoint: http://weightlog.ashleyhindle.com/?token=[apitoken]
Go to https://telegram.me/BotFather
, send him /newbot
and go through the motions until you get a token
.
git clone git@github.com:ashleyhindle/weightlog.git; cd weightlog; composer install
Run the bot: TELEGRAM_BOT_TOKEN='tokenfrombotfather' php bot.php
Go to https://telegram.me/[yourbotname]
and send it your weight