Libraries refactor and add some sinks #4

Closed
m wants to merge 136 commits from library-refactor into master
1 changed files with 23 additions and 0 deletions
Showing only changes of commit 833a1fdbe9 - Show all commits

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