For example, you do not need userĪuthorization to retrieve information about a public YouTube channel. You will use the API key to make API requests that do Make sure the API is enabled for your project. Complete the following tasks in the API Console for your project: Step 1: Set up your project and credentialsĬreate or select a project in the API Console. ![]() pip install -upgrade google-auth-oauthlib google-auth-httplib2 The google-auth-oauthlib and google-auth-httplib2 libraries for userĪuthorization. The Google APIs Client Library for Python: pip install -upgrade google-api-python-client Note: More generally, you can follow the instructions for the first exampleįor any use case that uses an API key or the instructions for the secondĮxample for any use case that requires authorization using OAuth 2.0. That retrieves information about your own YouTube channel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |