printing time for each api request