How can I query a BigQuery dataset and get a list of all the tables in the dataset? As far as I know, I can only use the BigQuery API, but I cannot authenticate, despite passing an API key.
url = f"https://bigquery.googleapis.com/bigquery/v2/projects/{params['project_id']}/datasets/{params['dataset_id']}/tables?key={params['api_key']}"
response = requests.get(url)
data = response.json()
pprint.pprint(data)