24 lines
427 B
Python
24 lines
427 B
Python
# 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.
|
|
"""
|