Skeleton of time range API call
Basic templating working