An API for planning your work week