shelter plugin completed
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
from .base_plugin import BasePMSPlugin
|
||||
|
||||
import requests
|
||||
|
||||
class EcviPMS(BasePMSPlugin):
|
||||
"""
|
||||
Плагин для PMS Shelter.
|
||||
Плагин для PMS ECVI.
|
||||
"""
|
||||
def fetch_data(self):
|
||||
def _fetch_data(self):
|
||||
print("Fetching data from Ecvi PMS...")
|
||||
# Реализация метода получения данных из PMS Shelter
|
||||
response = requests.get(self.pms_config.url, headers={"Authorization": f"Bearer {self.pms_config.token}"})
|
||||
|
||||
Reference in New Issue
Block a user