Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install xeroapi

How to install XeroAPI

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install xeroapi
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.6 Available View build log
0.0.4 Available View build log
0.0.2 Available View build log
Windows (64-bit)
0.0.6 Available View build log
0.0.4 Available View build log
0.0.2 Available View build log
Mac OS X (10.5+)
0.0.6 Available View build log
0.0.4 Available View build log
0.0.2 Available View build log
Linux (32-bit)
0.0.6 Available View build log
0.0.4 Available View build log
0.0.2 Available View build log
Linux (64-bit)
0.0.6 Available View build log
0.0.4 Available View build log
0.0.2 Available View build log
 
Author
License
LICENSE.txt
Lastest release
version 0.0.6 on Jan 4th, 2012

Xero API provides a client authentication module and some of the XERO API Resources for your Private Application to entegrate with XERO accounting system. Typical usage often looks like this:

from xeroapi.client import Client
from xeroapi.resources import XOrganization

CONSUMER_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
CONSUMER_SECRET = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"
PATH_TO_YOUR_PRIVATE_KEY = "/path/to/your/private_key.pem"

xero_client = Client(CONSUMER_KEY, CONSUMER_SECRET, PATH_TO_YOUR_PRIVATE_KEY)
print "Your organization name in XERO is: ", XOrganization.get(xero_client)

Please refer to API Overview http://blog.xero.com/developer/api-overview/ to start.

Client

Includes the authentication and information exhange methods.

  • uses oauth2 for authorization.
  • signs all API calls using your private key with the RSA-SHA1 signature method.
  • includes get/put/post methods which converts xml data to python dictionaries.

Please refer to the Atuhentication with the XERO API <http://blog.xero.com/developer/api-overview/authentication/> section for details.

Resources

Defines the X based classes for the following XERO resources:

  • Accounts
  • Organizations
  • AccountTypes
  • Contacts
  • Invoices
  • Items
  • BrandingThemes
  • TaxRates

Adding new resources is easy. Plese refer to the Xero Developer API <http://blog.xero.com/developer/api/> for the whole list of resources.

Contributors

The Beesdom Team:

Subscribe to package updates

Last updated Jan 4th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.