A simple Python API Wrapper for Bling ERP.
Via Pip:
$ pip install bling
Via GIT:
$ pip install git+https://git@github.com/tcosta84/python-bling.git
from 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 test
If 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.git
Create an environment (e.g. with pyenv):
$ pyenv virtualenv bling
$ pyenv activate
Configure development requirements:
$ pip install -r requirements.txt
The MIT License (MIT). Please see License File for more information.