majorapi-python-sdk
===================

See the [MajorApi: QuickBooks REST API](https://majorapi.com/developers/quickbooks) for more information on how to use the MajorApi: QuickBooks REST API.

## Installation

	```bash
	pip install majorapi-python-sdk
	```

## Quick Guide

Setup

	```python
	from majorapi import MajorApiQuickbooks
	api = MajorApiQuickbooks('username', 'apikey')
	```

Customers

	```python
	api.create_customer(customer)
	api.retrieve_customer(customer_name)
	```

Orders

	```python
	api.create_invoice(order)
	api.create_sales_order(order)
	api.retrieve_invoice(ref_number)
	api.retrieve_sales_order(ref_number)
	```

Items

	```python
	api.retrieve_item(item_name)
	```
