Begin implementing Fidor API

This commit is contained in:
Mark Veidemanis 2022-02-28 20:02:02 +00:00
parent 8eece59c47
commit 833a1fdbe9
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 23 additions and 0 deletions

23
handler/sinks/fidor.py Normal file
View File

@ -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.
"""