A project that illustrates how to use the Google Python API client with the Flask framework for Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Python API Client Library + Flask

There are two files in this project:

  • yt.py - Does the OAuth 2.0 web server flow dance and fetches a list of your playlsts
  • cal.py - Does the same OAuth 2.0 dance and fetches a list of your calendars

To use this code, open either file and specify your client id and secret from your Google API project: https://developers.google.com/console


Copyright 2013 Jennifer Mimming Murphy

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.