Browse Source

first commit

master
BARRAUX Arthur 2 years ago
commit
854524b2c0
  1. 16
      app.py
  2. 19
      requirement.txt

16
app.py

@ -0,0 +1,16 @@
from googleapiclient.discovery import build
import json
service = build('drive', 'v3')
collection = service.stamps()
request = collection.list(cents=5)
try:
response = request.execute()
print(json.dumps(response, sort_keys=True, indent=4))
except HttpError as e:
print('Error response status code : {0}, reason : {1}'.format(e.status_code, e.error_details))
service.close()

19
requirement.txt

@ -0,0 +1,19 @@
cachetools==5.2.0
certifi==2022.12.7
charset-normalizer==2.1.1
google-api-core==2.11.0
google-api-python-client==2.71.0
google-auth==2.15.0
google-auth-httplib2==0.1.0
googleapis-common-protos==1.57.1
httplib2==0.21.0
idna==3.4
protobuf==4.21.12
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==3.0.9
requests==2.28.1
rsa==4.9
six==1.16.0
uritemplate==4.1.1
urllib3==1.26.13
Loading…
Cancel
Save