base implementation for the periods and places api