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:
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
Plain Ubuntu:
export GOOGLE_APPLICATION_CREDENTIALS=~/Documents/googleapi/apikey.json
youtube.com/watch?v=YapTts_An9A&ab_channel=JieJenn
Enable API | |
---|---|