Hi,
I am trying to modify a python script that used a GraphQL query to retrieve data from monday via the API, that since the items-> item_pages transition stopped working.
I have used the playground and was able to generate updated query and get results per board and item, but when trying my script which does the same - just inside a loop the results come back empty.
This is what I have working in the playground:
And this is my code snippet that should do the same:
for item_id in item_ids:
# API query for item details
item_query = ‘’’
query {
boards(ids: %s) {
items_page(query_params:{ids: %s}) {
items {
id
name
column_values {
text
}
}
subitems {
name
column_values {
text
}
}
}
}
}
‘’’ % (board_id, item_id)
Please assist.
-Lavi
