Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Timothy Van Cauwenberge
Timothy Van Cauwenberge
8,958 Points

A way to find out how many hours have been invested in Treehouse

HI, I was wondering if there was a way to find out how many hours have been invested in Treehouse?

2 Answers

This is a great programming question. How do you think you could find the answer? For me I would think starting off seeing if I can retrieve JSON data that might have how many courses a user has completed. if you look at your profile you'll see completed courses right, well that's data, maybe it can be accessed via JSON, but how do you get the time for the courses? What do you think?

You can get a little bit of basic information from the TeamTreehouse user API's (you can see yours at https://teamtreehouse.com/timothyvancauwenberge.json).

However, you can only see your badges and total achievement points - not the total amount of time (or the amount of time spent on each track, course, etc). You could accurately track this on your own end by timing yourself, or you could manually check each course for its estimated completion course and guesstimate your own time (based on whether you tended to be faster/slower/same as the estimated time). There's no easy or semi-automated way to do this (without getting into more advanced concepts), however ;P

Good luck :)