-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate API no longer requires an API key. #248
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmdobry thanks! This looks great.
# Your Translate API key | ||
$apiKey = 'YOUR_API_KEY'; | ||
# Your Google Cloud Platform project ID | ||
$projectId = 'YOUR_PROJECT_ID'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the project ID required in lieu of an API key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, typical of other cloud samples.
Will merge once tests pass |
Can you help me fix the test? I don't understand why it's failing. |
The linter complains about unused |
367127d
to
5119853
Compare
5119853
to
9c839cd
Compare
@jmdobry thanks Jason! |
See