2015-11-29, 05:34
No, everybody does that already. I was talking about signing up for my very own API key, not shared with anybody else.
https://developers.google.com/youtube/re...pplication
And actually, I thought of a better solution. Rather than eventually forcing every user to sign up dozens of times, maybe a better answer is for the YouTube addon to come with, like, a hundred API keys, and to randomly pick two out of that pool when the addon first authenticates to YouTube. Every call picks one of those two selected API keys, and if it's out of quota, tries the other one. That makes the load bearable for users and sidesteps API quota limits by spreading it out.
Then as Kodi steadily continues to grow in popularity, this method would scale linearly. Pick two out of 10k API keys, if necessary. Pretty sure that would be enough for the entire population of the planet.
https://developers.google.com/youtube/re...pplication
And actually, I thought of a better solution. Rather than eventually forcing every user to sign up dozens of times, maybe a better answer is for the YouTube addon to come with, like, a hundred API keys, and to randomly pick two out of that pool when the addon first authenticates to YouTube. Every call picks one of those two selected API keys, and if it's out of quota, tries the other one. That makes the load bearable for users and sidesteps API quota limits by spreading it out.
Then as Kodi steadily continues to grow in popularity, this method would scale linearly. Pick two out of 10k API keys, if necessary. Pretty sure that would be enough for the entire population of the planet.