Code:
import requests import json key = \'key\' #api key url = \'https://www.googleapis.com/youtube/v3/channels?part=statistics&key=\'+ key +\'&forUs