Created
June 17, 2019 07:25
-
-
Save DataSolveProblems/fb05b9e8ec857bb7509c9f78e3ffc504 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
import os | |
from google.cloud import translate | |
import pandas as pd | |
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = r"<CLIENT_SECRET.json>" | |
translate_client = translate.Client() | |
result = translate_client.get_languages() | |
languageList = pd.DataFrame(result) | |
print(languageList) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment