From 833a1fdbe95a7f4d92fd6ff7befad82850f389ef Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 28 Feb 2022 20:02:02 +0000 Subject: [PATCH] Begin implementing Fidor API --- handler/sinks/fidor.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 handler/sinks/fidor.py diff --git a/handler/sinks/fidor.py b/handler/sinks/fidor.py new file mode 100644 index 0000000..8add9a3 --- /dev/null +++ b/handler/sinks/fidor.py @@ -0,0 +1,23 @@ +# Twisted/Klein imports +from twisted.logger import Logger + +# Other library imports +# import requests +# from json import dumps + +# Project imports +# from settings import settings + + +class Fidor(object): + """ + Class to manage calls to the Fidor API. + """ + + def __init__(self): + self.log = Logger("fidor") + + def authorize(self): + """ + Perform initial authorization against Fidor API. + """