You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
390 B
16 lines
390 B
2 years ago
|
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()
|