How to check whether a folder exists in google drive with name using python?
I have tried with the following code:
import requests
import json
access_token = 'token'
url = 'https://www.googleapis.com/drive/v3/files'
headers = {
'Authorization': 'Bearer' + access_token
}
response = requests.get(url, headers=headers)
print(response.text)