Add features to pysmsboxnet

To implement a new API feature, add a new method that calls the following private method:

async pysmsboxnet.api.Client.__smsbox_request(self, uri: str, parameters: dict[str, str]) str

Send a request to the API (internal helper).

Parameters:
  • uri (str) – the API path, for example api.php or 1.1/api.php

  • parameters (dict) – form parameters to pass to the API

Returns:

SMSBox API response

Return type:

str

Raises:

If an exception is needed, place it in pysmsboxnet/exceptions.py and have it extend pysmsboxnet.exceptions.SMSBoxException.