/intacctws-py

Python client for Intacct Web Services API

Primary LanguagePythonMIT LicenseMIT

intacctws-py

A Python interface to the Intacct Web Services API.

Installation

To install intacctws-py simply:

$ sudo pip install intacct

or alternatively (you really should be using pip though):

$ sudo easy_install intacct

or from source:

$ sudo python setup.py install

Getting Started

>>> from intacct import IntacctApi
>>> i = IntacctApi(
...         senderid='mysenderid',
...         senderpass='mysenderpass',
...         userid='myuserid',
...         userpass='myuserpass',
...         companyid='mycompanyid'
...     )
>>> i.get_api_session()
... True
>>> result = i.read_by_query('USERINFO', pagesize=100)
>>> for LOGINID in result.iter('LOGINID'):
...     print LOGINID.text
...
FredFlintstone
WilmaFlintstone
BarneyRubble
BettyRubble
>>>

Limitations

This module is under development and much of the functionality provided by the API is not yet supported.