From 64a6dd9198386043eea7556100b291fcd5035aac Mon Sep 17 00:00:00 2001 From: jowj Date: Sun, 16 Jun 2019 22:21:22 -0500 Subject: [PATCH] Add pinboard skeleton. --- pinboard.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pinboard.py diff --git a/pinboard.py b/pinboard.py new file mode 100644 index 0000000..a12c5b9 --- /dev/null +++ b/pinboard.py @@ -0,0 +1,10 @@ +import requests +import os + +pinboard_token = os.environ.get("PINBOARD_TOKEN") +pinboard_user = os.environ.get("PINBOARD_USER") +pinboard_password = os.environ.get("PINBOARD_PASSWORDD") +pinboard_url = f"https://{pinboard_user}:{pinboard_password}api.pinboard.in/v1" + +requests.get(pinboard_url) +