I'm using the GET method of the Zoho Projects API to get the tasklogs of a specific task and I'm facing some trouble.
It seems that
tasklogs are not responsive to the "index" and "range" params,
as its length is allways 99, no matter what values I pass to these params.
Please kindly let me know how can tasklogs "range" param can be set.
For more clarification, bellow you can find the steps I followed in python:
import pandas as pd
import requests
import json
params = {"index":1, "range":200}
r = requests.get(url, params=params, headers=headers)
response = json.loads(r.content.decode('utf-8'))
response = pd.DataFrame(response["timelogs"]["tasklogs"])
#len() retrieves 99 as output
len(response["timelogs"]["tasklogs"])
Any comment or suggestion will be much appreciated.
Thanks in advance!