elixir-google-api icon indicating copy to clipboard operation
elixir-google-api copied to clipboard

How can I use etag for google_api_you_tube?

Open freewebwithme opened this issue 5 years ago • 1 comments

Hello I am using GoogleApi.YouTube.V3.Api.Playlists.youtube_playlists_list() And as this doc says https://developers.google.com/youtube/v3/getting-started#etags I want to take advantage of etag for optimization. So How can I use etag for this? Do I have to add manually add request header for etag? If there is any doc for this, Please let me know

Thanks

freewebwithme avatar Mar 29 '20 02:03 freewebwithme

As far as I can tell, there isn't a way to set custom headers (such as etags) per call. That shouldn't be too difficult to add, but it does require a bit of generator work.

dazuma avatar Apr 04 '20 22:04 dazuma