Make an API request
Get the data you want, when you want it.
Last updated
Was this helpful?
Was this helpful?
import requests
# API url
url = 'your_API_url_here'
# API call body
obj = {'somekey': 'somevalue'}
# create request
x = requests.post(url, json = myobj)
# return the API response to the sheet
x.textdf = q.cells('A1:B161', first_row_header=True))