A simple Python API Wrapper for Bling ERP.
Via Pip:
$ pip install blingVia GIT:
$ pip install git+https://git@github.com/tcosta84/python-bling.gitfrom bling import Api, ApiError
api = Api('your-api-key')
try:
invoices = api.get_invoices(issued_date=['01/05/2019', '31/05/2019'], situation=7, type='S')
for invoice in invoices:
print(invoice['numero'])
except ApiError as e:
print(e.response)$ make testIf you discover any security related issues, please email thiagodacostabr@gmail.com instead of using the issue tracker.
Clone the repository:
$ git clone https://github.com/tcosta84/python-bling.gitCreate an environment (e.g. with pyenv):
$ pyenv virtualenv bling
$ pyenv activateConfigure development requirements:
$ pip install -r requirements.txtThe MIT License (MIT). Please see License File for more information.