Module Import alias ImportFrom alias alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Delete SubscriptDel NameLoad Index Str Assign SubscriptStore NameLoad Index Str Str Return Call NameLoad Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body If CompareNotIn Str NameLoad body Return Call NameLoad Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Str keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword Str keyword NameLoad attr Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Str
N/A N/A json apiclient.discovery build_from_document build N/A httplib2 N/A random oauth2client.client OAuth2WebServerFlow flask Flask render_template session request redirect url_for abort N/A CLIENT_ID YOUR_CLIENT_ID N/A CLIENT_SECRET YOUR_CLIENT_SECRET N/A app N/A Flask __name__ login N/A N/A N/A N/A N/A flow N/A OAuth2WebServerFlow client_id CLIENT_ID client_secret CLIENT_SECRET scope https://www.googleapis.com/auth/youtube redirect_uri http://localhost:5000/oauth2callback approval_prompt force access_type offline N/A auth_uri N/A N/A flow step1_get_authorize_url N/A N/A redirect auth_uri N/A N/A N/A app route /login signout N/A N/A N/A N/A N/A N/A session N/A credentials N/A N/A session N/A message You have logged out N/A N/A redirect N/A url_for index N/A N/A N/A app route /signout oauth2callback N/A N/A N/A N/A N/A code N/A N/A N/A request args get code N/A code N/A N/A flow N/A OAuth2WebServerFlow CLIENT_ID CLIENT_SECRET https://www.googleapis.com/auth/youtube N/A N/A flow redirect_uri N/A request base_url N/A N/A N/A credentials N/A N/A flow step2_exchange code N/A N/A N/A Exception N/A e N/A N/A Unable to get an access token because  N/A e message N/A N/A session N/A credentials credentials N/A N/A redirect N/A url_for index N/A N/A N/A app route /oauth2callback index N/A N/A N/A N/A N/A N/A credentials session N/A N/A N/A redirect N/A url_for login N/A credentials N/A session N/A credentials N/A http N/A N/A httplib2 Http N/A http N/A N/A credentials authorize http N/A youtube N/A build youtube v3 http http N/A playlists N/A N/A N/A N/A N/A N/A youtube playlists list part id,snippet mine True execute N/A N/A render_template index.html playlists playlists N/A N/A N/A app route / N/A N/A __name__ __main__ N/A N/A N/A app secret_key hello world N/A N/A N/A app run host 0.0.0.0