InstallationΒΆ
Install ibires via:
$ pip install hg+http://bitbucket.org/hyllos/ibires
Run ipython
and enter:
>> from ibires.reports import gen_dlr
>> gen_dlr()
{'results': [{'doneAt': '2016-10-04 04:14:10.688+0200',
'error': {'description': 'No error',
'groupId': 0,
'groupName': 'OK',
'id': 0,
'name': 'NO_ERROR',
'permanent': False},
'messageId': '5ef4d6d7-9a81-4225-ad47-1ced98d5dccd',
'price': {'currency': 'EUR', 'pricePerMessage': 0.01},
'sentAt': '2016-10-04 04:14:10.688+0200',
'smsCount': 1,
'status': {'description': 'Message delivered to operator',
'groupId': 3,
'groupName': 'DELIVERED',
'id': 2,
'name': 'DELIVERED_TO_OPERATOR'},
'to': '919999999999'}]}