See Greg's FitCalendar.
About this project: I have a Fitbit, and like it a lot - having a goal of 70,000 steps per week really motivates me. But the website doesn't have an easy way to see if I'm on track to hit my goal this week, nor to see if I did in previous weeks.
oauth2. The first time you run the script, you'll be prompted to go to a URL and authorize FitCalendar, and then it will save your credentials in a text file. Running the script generates the output in
fitbitweek.html. You can configure this and whether your week starts on Monday or Sunday by editing the "Configurable options" section of the script.