Add features to pysmsboxnet

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

async Client._smsbox_request(uri: str, parameters: Mapping[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 (Mapping) – 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.