alaouy / YouTube

🔥 Laravel PHP Facade/Wrapper for the Youtube Data API
MIT License
782 stars 204 forks source link

Unrelated question, perhaps? #131

Closed DefaultLGTM closed 5 years ago

DefaultLGTM commented 5 years ago

I have my quota limit currently set to 10,000. And, I have no means to increase it at the moment. I was thinking to shuffle out API keys I have (I can have multiple keys, from multiple projects, right?). Weird solution, I know. But, is this really possible? I can change YOUTUBE_API_KEY on runtime for sure, but it seems like this package is unable to know that... Any advice?

UNRELATED: Is Youtube API quota increase for free!? The internet seems to have no info about this.

alaouy commented 5 years ago

You can set the API key programmatically at run time using Youtube::setApiKey('KEY');

DefaultLGTM commented 5 years ago

I did not realize I can do that... hmmm. Thanks!