Skip to main content

Custom connector to Xero

Project description

i-Xero2

This is a standardized and customized connector to Xero.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This package supports the following version of Python. It probably supports older versions, but they have not been tested.

  • Python 3.10 or later

Installing

Install the latest package using pip.

$ pip install i-xero2

End with an example of getting some data out of the system or using it for a little demo

Running the tests

Before running the tests, you need to authorize the app with Xero and save the tenant ID in the environment.

  1. In Xero, switch to the "Demo Company".

  2. Run the app locally.

    $ python app.py
    
  3. In the browser, navigate to http://localhost:5000/

  4. Follow the prompts to allow app to access Xero.

  5. Read tenants.

  6. Copy the tenantId.

  7. Save the tenant id as an environment variable named XERO_TENANT_ID.

  8. Run the tests.

    $ python -m pytest
    

Usage

TODO

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

i_xero2-2.8.2.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

i_xero2-2.8.2-py3-none-any.whl (12.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page