shelter plugin completed

This commit is contained in:
2024-12-12 21:11:01 +09:00
parent ca82064e00
commit 85b4c809dd
5 changed files with 1458 additions and 130 deletions

View File

@@ -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}"})