Readme has incorrect info re: API keys
@aandreassa ci sta già lavorando.
Dal 3/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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!
- Lingua principale
- Ruby
- Stelle
- 2.9k
- Fork
- 888
- Merge medio
- 8m
- PR unite (30g)
- 241
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di googleapis/google-api-ruby-client
-
Please Drop ruby 3.2 support Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
googleapis/google-api-ruby-client#28001 · 5 reazioni ·
-
googleapis/google-api-ruby-client#27757 · 1 assegnatario ·
-
googleapis/google-api-ruby-client#27758 · 1 assegnatario ·
-
googleapis/google-api-ruby-client#27759 · 1 assegnatario ·
-
api: storage type: feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
googleapis/google-api-ruby-client#27339 ·
Tutte le issue di googleapis/google-api-ruby-client
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hanami/hanami-cli#449 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
resque/resque-scheduler#826 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100