Skip to content

Base

Class BaseService

class BaseService()

[view_source]

Singleton Base Service class

post

@final
def post(endpoint: str, data: Dict, **kwargs) -> Dict

[view_source]

Perform a POST request to the endpoint with the given data

get

@final
def get(endpoint: str, data: Optional[Dict] = None, **kwargs) -> Dict

[view_source]

Perform a GET request to the endpoint

delete

@final
def delete(endpoint: str, **kwargs) -> None

[view_source]

Perform a DELETE request to the endpoint