I want to retrieve monetization data from a friend\'s YouTube channel. I\'ve used the python code below to get the authentication credentials from him, which I then saved to
Solved it myself. I just needed to create the credentials object with this code:
credentials = google.oauth2.credentials.Credentials.from_authorized_user_file(CLIENT_CREDENTIALS_FILE)