Skip to content

Instantly share code, notes, and snippets.

View sanxchep's full-sized avatar
🏠
Working from home

Sanxchep Sharma sanxchep

🏠
Working from home
View GitHub Profile
@sanxchep
sanxchep / requests-oauth2.py
Created May 21, 2020 04:13 — forked from ymotongpoo/requests-oauth2.py
Google API OAuth 2.0 Authorization Sample in Python
# -*- coding: utf-8 -*-
"""
This scripts reqire a third party module 'requests'.
You can get it from PyPI, i.e. you can install it using
easy_install or pip.
http://docs.python-requests.org/en/v0.10.4/
Original source code is written by shin1ogawa, which is in Java.