26 lines
636 B
Markdown
26 lines
636 B
Markdown
# pyinvoiceninja
|
|
|
|
Inspired by the [official PHP SDK](https://github.com/invoiceninja/sdk-php), a
|
|
Python wrapper for Invoice Ninja's REST API.
|
|
|
|
## Model Projects
|
|
|
|
Projects to look to for guidance:
|
|
|
|
* [official PHP SDK](https://github.com/invoiceninja/sdk-php)
|
|
- official Invoice Ninja SDK
|
|
|
|
* [python-vaultwarden](https://github.com/numberly/python-vaultwarden)
|
|
- simple python wrapper for the bitwarden/vaultwarden
|
|
|
|
## How to use
|
|
|
|
Let see some basic usage:
|
|
```
|
|
>>> # Import client from module
|
|
>>> from pyinvoiceninja import InvoiceNinjaClient
|
|
>>> #
|
|
>>> client = InvoiceNinjaClient(base_url='https://ninja.instance/api/v1')
|
|
```
|
|
|