initial commit

This commit is contained in:
Hirad 2024-11-14 14:47:53 +03:30
parent bab6717459
commit f5f3017731
5 changed files with 45 additions and 0 deletions

7
portainer/endpoints.py Normal file
View file

@ -0,0 +1,7 @@
from .base import ApiBase
class EndpointApi(ApiBase):
def list_endpoints(self):
url = f"{self.base_url}/endpoints"
return self.request("GET", url).json()