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
...
Python script example: https://cloud.google.com/translate/docs/reference/libraries
Python script:
...
( owner, editor or viewer )
https://cloudwww.googleyoutube.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
watch?v=YapTts_An9A&ab_channel=JieJenn
Enable API | |
---|---|