Libraries refactor and add some sinks #4
|
@ -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.
|
||||||
|
"""
|
Loading…
Reference in New Issue