Created
July 5, 2019 02:04
-
-
Save DataSolveProblems/205fe3c1ca9ba23b3af1e0419ef12027 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from googleapiclient.discovery import build | |
import pandas as pd | |
API_SERVICE_NAME = 'discovery' | |
API_VERSION = 'v1' | |
service = build(API_SERVICE_NAME, API_VERSION) | |
api_service = service.apis() | |
df_list = pd.DataFrame(api_service.list().execute().get('items')) | |
print(df_list) | |
df_methods = pd.DataFrame(api_service.getRest(api='sheets', version='v4').execute()) | |
print(df_methods) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment