Skip to content

Instantly share code, notes, and snippets.

openapi: 3.0.1
security:
- cookieAuth: []
info:
title: On My Radar email API
description: This is the documentation for On My Radar API.
contact:
email: jhonjairoroa87@gmail.com
license:
name: Apache 2.0
from __future__ import print_function
import pickle
import os.path
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
# If modifying these scopes, delete the file token.pickle.
SCOPES = ['https://www.googleapis.com/auth/gmail.readonly']
@judasane
judasane / gist:6552314
Created September 13, 2013 15:38
A class to manage basic template for php.
<?php
/**
* Templater class.
*
* @author Juan
*/
class Sanemplater {
/* @var $basePath string */