Retrieve time added by day or user

Hi, I am doing integration asana data into my app for custom report

Getting Task Gid are working very well with provided api

but, when I want to get time-tracking data or using api. then

I need to call 1000 times with gid (if I have a 1000 tasks)

So, I have a workaround for this, plz check this and tell me if another solution or appropriate ways

  1. search tasks by modification day ( yesterday or specific day)
  2. traversal returned tasks and get time - tracking data

any other ways do you have?

thanks.

Please read this before posting

  • If you received an error from the API that you’re looking for help with, please include the error in your post and be descriptive of the requests you made that received the errors. To be clear, we need the error in the JSON response from the API, not the error your code raised.
  • Do not share any API credentials. Please check that the code you’re pasting into the post does not contain any real OAuth tokens or personal access tokens. If you have exposed credentials, you should revoke them immediately.