Begin implementing Fidor API
This commit is contained in:
23
handler/sinks/fidor.py
Normal file
23
handler/sinks/fidor.py
Normal 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.
|
||||||
|
"""
|
||||||
Reference in New Issue
Block a user