Hi!
I'm trying to get all records from a table, but using table_records isn't giving me all of them.
Running the following code in Python I get 50 records, but my table has 94. Any ideas of how I can get all of them?
import requests
import json
payload = {"query": "{ table_records(table_id:\"TABLE_ID\") {edges {node {id }}}}"}
headers = {
"authorization": f"Bearer {pipefy_token}",
"content-type": "application/json"
}
response = requests.request("POST", url, json=payload, headers=headers)
json_data = json.loads(response.text)
print(len(json_data["data"]["table_records"]["edges"]))
Best answer by vitoria36
View original