Add pinboard skeleton.

This commit is contained in:
jowj 2019-06-16 22:21:22 -05:00
parent 47b6d8b753
commit 64a6dd9198

10
pinboard.py Normal file
View File

@ -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)