Added Api. Pocketbase. Python sdk

This commit is contained in:
2022-09-15 10:59:30 +02:00
parent 7412fd9238
commit cfe2e69125
8 changed files with 166 additions and 20 deletions

11
Api/pacienti.py Normal file
View File

@@ -0,0 +1,11 @@
class Pacienti:
def __init__(self, emer: str, mbiemer: str, mosha: int, datelindja: str, error: str, access_token: str):
self.emer = emer
self.mbiemer = mbiemer
self.mosha = mosha
self.datelindja = datelindja
self.error = error
def krijo_pactient(self):
pactienti = {"emer": self.emer,
"mbiemer": self.mbiemer, "mosha": self.mosha, "datelindja": self.datelindja, "error": self.error}