/python-flask-google-api-starter

A project that illustrates how to use the Google Python API client with the Flask framework for Python

Primary LanguagePython

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

License

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

http://www.apache.org/licenses/LICENSE-2.0

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.