Skip to content

Commit

Permalink
Updated .env.example file to elaborate of the proper usage for IAM AP…
Browse files Browse the repository at this point in the history
…I keys and credentials and added URL parameters
  • Loading branch information
w0o committed Mar 21, 2019
1 parent 31d0ba1 commit 347e17f
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions examples/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
SPEECH_TO_TEXT_IAM_APIKEY=""
SPEECH_TO_TEXT_USERNAME=""
SPEECH_TO_TEXT_PASSWORD=""
TEXT_TO_SPEECH_IAM_APIKEY=""
TEXT_TO_SPEECH_USERNAME=""
TEXT_TO_SPEECH_PASSWORD=""
# Replace this if you are using a region specific service
SPEECH_TO_TEXT_URL=https://stream.watsonplatform.net/speech-to-text/api

# If your using IAM API keys use this and do not input credentials:
SPEECH_TO_TEXT_IAM_APIKEY=<Your API key>

# If your Speech to Text credentials contain username and password use the following:
SPEECH_TO_TEXT_USERNAME=
SPEECH_TO_TEXT_PASSWORD=

# Replace this if you are using a region specific service
TEXT_TO_SPEECH_URL=https://stream.watsonplatform.net/text-to-speech/api

# If your using IAM API keys use this and do not input credentials:
TEXT_TO_SPEECH_IAM_APIKEY=<Your API key>

# If your Text to Speech credentials contain username and password use the following:
TEXT_TO_SPEECH_USERNAME=
TEXT_TO_SPEECH_PASSWORD=

0 comments on commit 347e17f

Please sign in to comment.