updated README.md to model current status of project

This commit is contained in:
Daniel 2019-08-18 22:34:19 -04:00
parent d1666beace
commit aeaacb6b40

View File

@ -25,14 +25,13 @@ python setup.py install
The library needs to be configured with your account's email and API password, the latter of which can be created [here](https://voip.ms/m/api.php). Set the variables `voipms.email` and `voipms.apikey` to their respective values: The library needs to be configured with your account's email and API password, the latter of which can be created [here](https://voip.ms/m/api.php). Set the variables `voipms.email` and `voipms.apikey` to their respective values:
```python ```python
import voipms from voipms.api import Client
voipms.email = "test@email.com" email = "test@email.com"
voipms.api_key = "01N0sWTdiutWTHNF" api_password = "01N0sWTdiutWTHNF"
client = Client(email, api_password)
# get current account balance # get current account balance
voipms.general.get_balance() balance = client.balance.fetch()
# remove did from account
voipms.dids.cancel_dids(did="5551234567")
``` ```