-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Also added goal_name as config parameter
- Loading branch information
1 parent
8f9796b
commit 6757904
Showing
3 changed files
with
68 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Usage | ||
--------- | ||
|
||
Copy default_config.ini to config.ini and fill in your insighttimer.com and beeminder credentials. | ||
|
||
Your beeminder auth token can be found at this URL when logged in: | ||
https://www.beeminder.com/api/v1/auth_token.json | ||
|
||
To run: | ||
``` | ||
python beeminder.py | ||
``` | ||
|
||
I set this up on a cron so that it runs occasionally, and posts new datapoints to beeminder if there are any. | ||
|
||
Notes | ||
------ | ||
beesight.py currently subtracts one from the dates it gets from beeminder, | ||
because beeminder returns JST (Japanese Standard Time) 01:00 on (correct_day + 1) | ||
in my timezone. If you're in another timezone, this may cause your dates | ||
to be off by one. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[insight] | ||
username= | ||
password= | ||
|
||
[beeminder] | ||
username= | ||
auth_token= | ||
goal_name= |