Skip to content
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

How to use API key? #358

Open
arsduo opened this issue Jan 14, 2022 · 1 comment
Open

How to use API key? #358

arsduo opened this issue Jan 14, 2022 · 1 comment
Labels
type: docs Improvement to the documentation for an API.

Comments

@arsduo
Copy link

arsduo commented Jan 14, 2022

Hi! Hope you have all been doing well over these last few terrible years.

We are trying to make an API request for public Youtube data. I've tried authenticating multiple ways, but even when following the documentation here for accessing a a service account, the API errors out because of a lack of an API key:

Google::Apis::ClientError: forbidden: The request is missing a valid API key.

The google-api-ruby-client library specifically says it integrates with google-auth-library-ruby "for authentication using OAuth, API keys, and service accounts"; however, I can't find any information on how to include the API key in the documentation for this library.

What's the right way to do that? And should that be documented here, since the other Google library points to this one for API keys? (Or should that reference be removed from the other readme?)

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Jan 15, 2022
@bajajneha27 bajajneha27 added type: docs Improvement to the documentation for an API. and removed triage me I really want to be triaged. labels Jan 21, 2022
@yoshi-automation yoshi-automation removed the 🚨 This issue needs some love. label Jan 21, 2022
@AlexWayfer
Copy link

No progression in this? I see type: docs Improvement to the documentation for an API. label, but I found no code for this. Is there an implementation at all? Maybe you can give a hint before docs completion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

4 participants