I have the following code in Python->
import requests
import json
apiKey = “my api key”
apiUrl = “https://api.monday.com/v2”
headers = {“Authorization” : apiKey}
query2 = ‘{boards (ids: 2257165976) { name id description items { name column_values{title id type text } } } }’
data = {‘query’ : query2}
r = requests.post(url=apiUrl, json=data, headers=headers) # make request
print(r.json())
This code displays everything (all the items) from a specific board but doesn’t always return the values of a column. How could I fix that? Also, I don’t want to fetch data from every column, I want to fetch data from a specific column. Could someone please modify my code in order to do so?