Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Readme has incorrect info re: API keys

Open
#8,081 0 comments 2 reactions 1 assignee View on GitHub

@aandreassa is already working on this.

Since Sep 3, 2026.

Assessment

This issue has not been assessed yet.

Description

type: docs

Hi! Hope you're all doing well after these two difficult years. Just want to note a small possible issue I found with the readme here.

The readme notes that this library offers integration with the googleauth gem for authentication using OAuth, API keys, and service accounts. However, after much experimentation, it seems like the (only) way to use an API key is directly through the service -- for instance

service = Google::Apis::YoutubeV3::YouTubeService.new
service.key = my_api_key

Just want to suggest updating the readme to make that clear for future developers looking to make API calls to resources that support API key authorization. (Might also be worth making a note about the need to include a referer and configure that on the API key, since that took some time to figure out as well.)

Thanks!

Dominant language
Ruby
Stars
2.9k
Forks
888
Avg merge
8m
Merged PRs (30d)
241

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-api-ruby-client

All issues in googleapis/google-api-ruby-client

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.