Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »


1- Log into google cloud platform    https://console.cloud.google.com/

2- Create a project:   TranslateXXXX

3- Enable  "translate" API for this specific project  ( or other API if needed )

4- Create account for this project ( owner, editor or viewer )


Python script example:   https://cloud.google.com/translate/docs/reference/libraries


Python script:

pip install --upgrade pip
sudo pip install google-cloud


https://cloud.google.com/video-intelligence/docs/common/auth


PowerShell

bash

export GOOGLE_APPLICATION_CREDENTIALS=/mnt/c/Users/jkriker/Documents/GitHub/googletranslateapi/apikey.json

( EXPORT command https://linuxconfig.org/learning-linux-commands-export )


Ubuntu Bash on Windows 10



Ubuntu:

export GOOGLE_APPLICATION_CREDENTIALS=~/Documents/googleapi/apikey.json




  • No labels