From a5dc43654a0902589ee583e6a2e961bcd369d888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?victor=20h=C3=A9ry?= Date: Wed, 28 Feb 2018 10:56:53 +0100 Subject: [PATCH] add client_secret sample for examples and tests --- client_secret.json.sample | 12 ++++++++++++ ptyt_upload.py | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 client_secret.json.sample create mode 100644 ptyt_upload.py diff --git a/client_secret.json.sample b/client_secret.json.sample new file mode 100644 index 0000000..f5be31c --- /dev/null +++ b/client_secret.json.sample @@ -0,0 +1,12 @@ +{ + "installed":{ + "client_id":"508404313392-4tgem869apgvn0j2f7fleoi410ofa27t.apps.googleusercontent.com", + "project_id":"ptyt-upload", + "auth_uri":"https://accounts.google.com/o/oauth2/auth", + "token_uri":"https://accounts.google.com/o/oauth2/token", + "auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs", + "client_secret":"M3cb0DKASd-lLENn9NwsFGm1", + "redirect_uris":["urn:ietf:wg:oauth:2.0:oob", + "http://localhost"] + } +} \ No newline at end of file diff --git a/ptyt_upload.py b/ptyt_upload.py new file mode 100644 index 0000000..7211c2d --- /dev/null +++ b/ptyt_upload.py @@ -0,0 +1,3 @@ +#!/usr/bin/python +# coding: utf-8 +